#Prepare for the Transition to Java 17: Upcoming Changes and How to Stay Updated
1 messages · Page 1 of 1 (latest)
Oh that's perfect. I built MegaStrike against Java 17 because of JavaFX and jpackage
Oh Boy, we are getting closer and closer to a useable Java version for me ;3, can´t wait to play Mega Mek one day ;D
I belive there are ways, as someone said here very recently, to install 2 different java versions side by side with no drawbacks. I havent done it but someone recently said they use it exactly for MM.
17 in particular is usable right now, if that's the one that works for you
if it's 21, that will take longer
Well since the game is still in a good but rough shape, i probably can still wait and let it improve even more ;3
Because I need Java still for a few things and don't want to accidently sabotage my work pc 😅
yeah messing with work PCs definitely not the best idea
I think i'm on Java 24 right now? I have the latest upgrades
wew, that's gonna be a long wait then
Maybe, but that will catapult the Battletech dream into a new Age for sure ;3
If your machine is constantly being updated to the latest Java release, it'll likely stay, at the least, just ahead of the MM curve, forever tempting you as if you were Tantalus.
Note: We intend to stay with LTS versions.
And the general intention is to not move to the next LTS until the current has reached EOL.
I actually use 21 at the moment and had very few if any bugs at all. Except when I ask MML to fill items into slots.
and even that is not that very big a deal.
Interesting, so one day or another i will have to install 2 versions of Java, so i can work and play Mega Mek 🫡
I will ask again, how that works, once i have a gaming PC with no old tech issues ;3
Question about Java 17 ...
... is there any testing done with OpenJDK? Just curious, because with Java 11, I was able to comfortably use OpenJDK 11 (installed through homebrew).
When I tried to use OpenJDK 17 (17.0.12), I could get MekHQ to run, but when I launched MegaMek for a contract, it ground to unresponsiveness. I was able to move one mech and it didn't auto-select the next unit for movement (despite saying it was my turn to move a unit). And I couldn't manually select a unit to move.
I'm currently trying the Temurin install ...
On macOS? Use the adoptoum installer directly. Don't use Homebrew. There is an issue with the OpenJDK builds within Homebrew.
yep... Adoptium/Temurin seems MUCH MUCH better ... I can actually play 😄
Thank you for reporting that bug. We'll have that fixed in the next release to prevent playing. We only do war crimes here.
Java Update Protocol Activated!
Hey MechWarriors! Time to power up your Java systems:
:robot: Critical Mission Briefing:
- First thing! Check your version of MegaMek/MegaMekLab/MekHQ to ensure you get the right Java.
Java Version Compatibility:
MegaMek/MegaMekLab/MekHQ Versions:
- 0.50.x to 0.51.x: Will require Java 17 (LTS) when this cycle lands (Mid 2024).
- 0.49.0 to 0.49.20: Needs Java 11 (LTS) but you should be looking at updating to Java 17.
- 0.48.0-Stable: Needs Java 8 (LTS). If you're using this version, upgrade to the MILESTONE release.
- Visit this link for detailed update steps: https://github.com/MegaMek/megamek/wiki/Updating-to-Adoptium-(Eclipse-Temurin-Open-Source-Java)
- For a visual guide, check out this helpful video tutorial: How to install Megamek & Java! Play Battletech online! by "The Many Voices":video_camera:
- Follow these steps EXACTLY – or risk facing the wrath of a misconfigured Mech!
- Don't forget the reboots and Step 6 – they're more important than a headshot with a PPC!
Ignoring these steps might leave your Mech as useful as a Locust in an Atlas fight!
Remember, Information is Ammunition.
MegaMek is a networked Java clone of BattleTech, a turn-based sci-fi boardgame for 2+ players. Fight using giant robots, tanks, and/or infantry on a hex-based map. - MegaMek/megamek
Hello mechwarriors! Just a quick installation guide for Megamek and Java for anyone who wants to use Megamek! Hope this helps you to start gaming online with your friends! If you're looking to play somewhere check out the MRC! https://discord.gg/UnwFRV4xha
Text guide: https://github.com/MegaMek/megamek/wiki/Updating-to-Adoptium-(Eclipse-Temuri...
@woeful trail If you follow the above link's steps, are you able to install Java 17?
extracting again file...
Remember to use 7zip or WinRar or something to unzip the MM, MML, or MHQ packages, too.
Yeah... I'm all thumbs. It's still showing the older 48.0 as "default" MML...
I've even tried to overwrite to the new version... nothing.
~quote 2 left big toes...
... did you extract the new version into the folder for the old version?
What do you mean by "default", anyway?
By default, it is the only one shown, I've tried to extract the 50.5 and replace the files with them, no luck.
Looks like I need to clean sweep the slate and re install MM, MML and MMHQ from scratch. A pain, but at least I know it'll work...
By default, it is the only one shown
Shown where?
Megamek doesn't "install" in the Start Menu, it's just a program you run from its folder
on my folder
... you did copy the new files into the old folder, didn't you
Don't do that.
Extract the new version into its own folder, and run it from there.
Again, did you take the new version files and copy them into the folder with the old version? Because that would break everything.
If so, start over from the point where you extract the downloaded new version from its archive, and put it into a different folder.
also, wait, which operating system are you using?
Why does it look like you're storing your files on a cloud drive? Do NOT do that. That WILL cause issues.
If MM is in ANY cloud folder or any folder managed by a cloud drive, it WILL mess things up. I asked because it's highlighed on the left. I recommend storing MM at C:\Games to remove that issue
Problem solved, it was saved to another file, have fixed.