Erkam Posted October 22, 2017 Posted October 22, 2017 I upgradet my java to java 9 and try to starting the launcher i get a message like this: This application requires a java runtime environment 1.5.0 Please Update launcher to Java 9
0 Forum Administrators Lord Ptolemy Posted October 22, 2017 Forum Administrators Posted October 22, 2017 5 hours ago, Erkam said: I upgradet my java to java 9 and try to starting the launcher i get a message like this: This application requires a java runtime environment 1.5.0 Please Update launcher to Java 9 Downgrade to Java 8. Forge nor Minecraft support Java 9. So even if the launcher supported it you wouldn't be able to run anything.
0 ungato Posted February 20, 2018 Posted February 20, 2018 I was looking into exactly why this happens, digging deep into the source code of Launch4J which the technic launcher uses, and I found that Java 9 uses a different registry key than Java 8 did, which makes Launch4J think you don't have java. This is fixed in a new version of Launch4J, but the technic launcher does not use this version. To work around this, follow these steps: Open Registry Editor. (Windows key + R, type "regedit" then enter). Go here: HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\ Right click JRE and click Export. Save the file somewhere. Find the file, right click it, and click Edit. Notepad should appear. Press Ctrl-H for replace, and replace "JRE" with "Java Runtime Environment". Make sure match case is on. Your file should look like the file below, with some version numbers changed, with it being okay if the MSI section is missing. If it does look like below, press ctrl-S to save and continue to the next step. Double click the file, and click yes to both prompts. Open the technic launcher. Tada! What my file looked like: Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Runtime Environment] "CurrentVersion"="9.0.4" "BrowserJavaVersion"="12.0.4.0" [HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Runtime Environment\9.0.4] "JavaHome"="C:\\Program Files\\Java\\jre-9.0.4" "RuntimeLib"="C:\\Program Files\\Java\\jre-9.0.4\\bin\\server\\jvm.dll" [HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Runtime Environment\9.0.4\MSI] "INSTALLDIR"="C:\\Program Files\\Java\\jre-9.0.4\\" "JU"="" "OEMUPDATE"="" "FROMVERSION"="NA" "PRODUCTVERSION"="9.0.4.0" "EULA"="" "JAVAUPDATE"="1" "AUTOUPDATECHECK"="1" "AUTOUPDATEDELAY"="" "FullVersion"="9.0.4+11" Hope this helps!
0 JaariAtmc Posted February 20, 2018 Posted February 20, 2018 11 hours ago, ungato said: I was looking into exactly why this happens, digging deep into the source code of Launch4J which the technic launcher uses, and I found that Java 9 uses a different registry key than Java 8 did, which makes Launch4J think you don't have java. This is fixed in a new version of Launch4J, but the technic launcher does not use this version. To work around this, follow these steps: Open Registry Editor. (Windows key + R, type "regedit" then enter). Go here: HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\ Right click JRE and click Export. Save the file somewhere. Find the file, right click it, and click Edit. Notepad should appear. Press Ctrl-H for replace, and replace "JRE" with "Java Runtime Environment". Make sure match case is on. Your file should look like the file below, with some version numbers changed, with it being okay if the MSI section is missing. If it does look like below, press ctrl-S to save and continue to the next step. Double click the file, and click yes to both prompts. Open the technic launcher. Tada! What my file looked like: Hope this helps! While this would fix launcher start issues, it is still impossible to start any modpacks, or minecraft itself.
Question
Erkam
I upgradet my java to java 9 and try to starting the launcher i get a message like this: This application requires a java runtime environment 1.5.0
Please Update launcher to Java 9
4 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now