Open TrailblazerDan opened 2 years ago
We've updated to Java 11, which means you'll need to update to use the 0.49.x development branches. As Java is now open source, we recommend Adoptium Temurin 11. We have a help page for Windows and Mac. Further, for Linux, you should be able to use your package manager to install Adoptium Temurin from their repository. Finally, all our automated tests (with the exception of MegaMekLab) are done with Temurin 11.
From our release notes for this release.
Whoa, I had no idea! That is not what comes up when I google "Java update"! Thanks very much.
Sorry, fixing this hasn't fixed the problem... should I open a new ticket?
Nope, reopening now. 1) Does that create anything in the /logs folder? If so, can you attach them? 2) Are you launching from downloads or program files? If so, please move the program to desktop and try there. 3) Please check your Java version, which can be done by using the guide on this site https://www.businessinsider.com/how-to-check-java-version-in-windows
Oops, attached, I was thinking the HTML file was the one.
Was launching from the Documents library folder; moving it to Desktop didn't fix things.
C:\Users\DJ>java -version openjdk version "11.0.14.1" 2022-02-08 OpenJDK Runtime Environment Temurin-11.0.14.1+1 (build 11.0.14.1+1) OpenJDK 64-Bit Server VM Temurin-11.0.14.1+1 (build 11.0.14.1+1, mixed mode SavesWontLoadLog.log )
I'll also need legacy.log.
Attached SavesWontLoad_legacy.log
You're loading it using Java 17, which also breaks save games and is thus completely unsupported at this time.
You'll need to uninstall all Java installs, and then install Java 11.
Damn, I don't know how 17 even got on the computer. My brother must have installed it without telling me. I'm very sorry for wasting your time with this.
On Tue, Mar 15, 2022 at 12:11 PM Justin Bowen @.***> wrote:
You're loading it using Java 17, which also breaks save games and is thus completely unsupported at this time.
You'll need to uninstall all Java installs, and then install Java 11.
— Reply to this email directly, view it on GitHub https://github.com/MegaMek/megamek/issues/3509#issuecomment-1068173218, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEXUM2YI5VV2B7T3JDBYEPLVACZCFANCNFSM5QZCKXMA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you authored the thread.Message ID: @.***>
As an FYI to whoever finds this thread next, trying to save with Java 16 broke the saves at the entities section, so your saves may not be recoverable even once you fix the Java version.
MegaMek v 0.49.7, running Java 8 Update 321, Windows 10
When I try to load any saved game, I get the message "Error: Unable to load game file."
Log file and saved game attached.
saveswontload.txt SavesWontLoad.sav.gz