Bit_Roit Posted May 11, 2022 Posted May 11, 2022 When I try to turn it on with Java 17 installed, it doesn't work and I can't open any forge files using any other java version. Quote
OutCraft Posted May 11, 2022 Posted May 11, 2022 Please post the server log. If there isn't any, look at this: Quote Sorry if my Posts are weird sometimes, I just try to help and learn as much as I can Also: PLEASE use SPOILERS for logs!
Luis_ST Posted May 11, 2022 Posted May 11, 2022 (edited) 1.16.5 requires java 8, if this does not work post log Edited May 11, 2022 by Luis_ST Quote
Bit_Roit Posted May 12, 2022 Author Posted May 12, 2022 On 5/11/2022 at 7:14 PM, OutCraft said: It doesn't work. Error: Could not find or load main class jar Caused by: java.lang.ClassNotFoundException: jar Expand On 5/11/2022 at 7:53 PM, Luis_ST said: 1.16.5 requires java 8, if this does not work post log Expand I can't even open forge installer unless i have java 17 but server doesn't turn on, it creates log that says [12maj2022 09:56:31.682] [main/INFO] [cpw.mods.modlauncher.Launcher/MODLAUNCHER]: ModLauncher running: args [--gameDir, ., --launchTarget, fmlserver, --fml.forgeVersion, 36.2.35, --fml.mcpVersion, 20210115.111550, --fml.mcVersion, 1.16.5, --fml.forgeGroup, net.minecraftforge] [12maj2022 09:56:31.682] [main/INFO] [cpw.mods.modlauncher.Launcher/MODLAUNCHER]: ModLauncher 8.1.3+8.1.3+main-8.1.x.c94d18ec starting: java version 17.0.3.1 by Oracle Corporation and [12maj2022 09:56:31.682] [main/INFO] [cpw.mods.modlauncher.Launcher/MODLAUNCHER]: ModLauncher running: args [--gameDir, ., --launchTarget, fmlserver, --fml.forgeVersion, 36.2.35, --fml.mcpVersion, 20210115.111550, --fml.mcVersion, 1.16.5, --fml.forgeGroup, net.minecraftforge] [12maj2022 09:56:31.682] [main/INFO] [cpw.mods.modlauncher.Launcher/MODLAUNCHER]: ModLauncher 8.1.3+8.1.3+main-8.1.x.c94d18ec starting: java version 17.0.3.1 by Oracle Corporation [12maj2022 09:56:31.698] [main/DEBUG] [cpw.mods.modlauncher.LaunchServiceHandler/MODLAUNCHER]: Found launch services [minecraft,testharness,fmlclient,fmlserver] Quote
Bit_Roit Posted May 12, 2022 Author Posted May 12, 2022 On 5/12/2022 at 8:09 AM, diesieben07 said: The installer works fine on Java 8. 1.1.6.5 requires Java 8 to launch. Expand When I try to turn on the server with java 8, it doesn't even create logs and the installer doesn't work either. Quote
Bit_Roit Posted May 12, 2022 Author Posted May 12, 2022 On 5/12/2022 at 8:09 AM, diesieben07 said: The installer works fine on Java 8. 1.1.6.5 requires Java 8 to launch. Expand Maybe I am downloading java from the wrong source (I downloaded it from the oracle website), can you post a link to download java 8? Quote
Bit_Roit Posted May 12, 2022 Author Posted May 12, 2022 On 5/12/2022 at 8:20 AM, diesieben07 said: Post the output of you running either one with Java 8 on the command line. Expand Something is loading, but it doesn't say anything. Quote
Bit_Roit Posted May 12, 2022 Author Posted May 12, 2022 A friend of mine also tried to turn on forge 1.16.5 server and it works just like it does on my computer. Quote
Bit_Roit Posted May 12, 2022 Author Posted May 12, 2022 (edited) Ok, I solved this problem. If any version of java was installed on your device and you did not uninstall it from the Apps & Features section, but only deleted the java folder from the program files, java will stop working properly. Edited May 12, 2022 by Bit_Roit Quote
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.
Note: Your post will require moderator approval before it will be visible.