You are running version 1.8.0_351 of Java. JOSM will soon stop working this version. We highly recommend you to update to Java 17.0.5 Would you like to update now?
I immediately opened my Java updater, update the java, then relaunch the JOSM.
But it’s failed. The message is still shown. What’s wrong?
Then I clicked the “update Java” button on the JOSM’s warning message. But I got redirected to definitely-not-Java website.
Whoa. What’s wrong?
Well, actually I already know the context behind all of this. Due to recent Java’s license change, JOSM might be incompatible to the official Java release. That’s why JOSM redirected me to Azul Open JDK instead of the official Java site.
Still, it’s quite confusing, even for me who understand the context.
Okay, now I downloaded Azul Open JDK. Extracted it. But unfortunately, there is no installer at all. Uargh. Another headache.
Okay, so I got java.exe inside “bin” folder. So I just have to run the josm-tested.jar against this brand new java.exe. That means I’m gonna need some command prompt hackery here and there.
Create a new shortcut, “type the new location of the item”, then :
%comspec% /k C:\Users\LENOVO\Downloads\zulu17.38.21-ca-fx-jre17.0.5-win_x64\bin\java.exe -jar C:\Users\LENOVO\Downloads\zulu17.38.21-ca-fx-jre17.0.5-win_x64\bin\josm-tested.jar
Finally I got a working JOSM windows shortcut. No more nagging “pls update” warning notification. Yey!
Update from the comment section : There’s actually a (windows) installer. Choose “msi” instead of “zip” on the download page.