Minecraft 1.17 requires a newer java version. Debian ships with openjdk-8, 10, 11 and 17. The only usable alternative among these is openjdk-17.
After installing openjdk-17-jre I get the following:
$ java -version openjdk version "17-ea" 2021-09-14 OpenJDK Runtime Environment (build 17-ea+19-Debian-1) OpenJDK 64-Bit Server VM (build 17-ea+19-Debian-1, mixed mode, sharing)
However, when attempting to start Minecraft 1.17 through technic I get the following log message:
B#656 java.lang.NumberFormatException: For input string: "17-ea" B#656 at java.base/java.lang.NumberFormatException.forInputString(NumberFormatException.java:67) B#656 at java.base/java.lang.Integer.parseInt(Integer.java:668) B#656 at java.base/java.lang.Integer.parseInt(Integer.java:786) B#656 at net.technicpack.launchercore.modpacks.RunData.isJavaVersionAtLeast(RunData.java:34) B#656 at net.technicpack.launchercore.modpacks.RunData.isJavaValid(RunData.java:51) B#656 at net.technicpack.launchercore.modpacks.RunData.isRunDataValid(RunData.java:59) B#656 at net.technicpack.launcher.launch.Installer$1.run(Installer.java:142) B#656 at java.base/java.lang.Thread.run(Thread.java:831)
It seems that something tries to parse 17-ea as an integer and throws and unhandled exception as a consequence.
Question
e8johan
Minecraft 1.17 requires a newer java version. Debian ships with openjdk-8, 10, 11 and 17. The only usable alternative among these is openjdk-17.
After installing openjdk-17-jre I get the following:
$ java -version
openjdk version "17-ea" 2021-09-14
OpenJDK Runtime Environment (build 17-ea+19-Debian-1)
OpenJDK 64-Bit Server VM (build 17-ea+19-Debian-1, mixed mode, sharing)
However, when attempting to start Minecraft 1.17 through technic I get the following log message:
B#656 java.lang.NumberFormatException: For input string: "17-ea"
B#656 at java.base/java.lang.NumberFormatException.forInputString(NumberFormatException.java:67)
B#656 at java.base/java.lang.Integer.parseInt(Integer.java:668)
B#656 at java.base/java.lang.Integer.parseInt(Integer.java:786)
B#656 at net.technicpack.launchercore.modpacks.RunData.isJavaVersionAtLeast(RunData.java:34)
B#656 at net.technicpack.launchercore.modpacks.RunData.isJavaValid(RunData.java:51)
B#656 at net.technicpack.launchercore.modpacks.RunData.isRunDataValid(RunData.java:59)
B#656 at net.technicpack.launcher.launch.Installer$1.run(Installer.java:142)
B#656 at java.base/java.lang.Thread.run(Thread.java:831)
It seems that something tries to parse 17-ea as an integer and throws and unhandled exception as a consequence.
The vanilla launcher works as expected.
Edited by PykerRemove link in build number
1 answer to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.