You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The READ.ME links to the wiki, which says to go to java.com to download java, but that is java 8 which is incompatible with the project which uses java 21 (as far as I can tell). Error message: "org/openstreetmap/osmosis/core/Osmosis has been compiled by a more recent version of the Java Runtime (class file version 61.0), this version of the Java Runtime only recognizes class file versions up to 52.0"
The issue / experience
The READ.ME links to the wiki, which says to go to java.com to download java, but that is java 8 which is incompatible with the project which uses java 21 (as far as I can tell). Error message: "org/openstreetmap/osmosis/core/Osmosis has been compiled by a more recent version of the Java Runtime (class file version 61.0), this version of the Java Runtime only recognizes class file versions up to 52.0"
What worked
if defined JAVA_HOME goto findJavaFromJavaHome
togoto findJavaFromJavaHome
set JAVA_HOME=%JAVA_HOME:"=%
toset JAVA_HOME=C:/Program Files/Java/jdk-21
C:\Program Files\osmosis-0.49.2\bin
then.\osmosis.bat
)The text was updated successfully, but these errors were encountered: