Hey guys ive been trying to setup a modded server for the first time im doing the sky factory 3 modpack and i keep running into errors starting with missing JVM.dll which i fixed and another one that i fixed but this is my next roadblock
A problem occurred running the Server launcher.java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at net.minecraftforge.fml.relauncher.ServerLaunchWrapper.run(ServerLaunchWrapper.java:62)
at net.minecraftforge.fml.relauncher.ServerLaunchWrapper.main(ServerLaunchWrapper.java:31)
Caused by: java.lang.NoClassDefFoundError: org/apache/logging/log4j/Level
at net.minecraft.launchwrapper.Launch.launch(Launch.java:94)
at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
... 6 more
Caused by: java.lang.ClassNotFoundException: org.apache.logging.log4j.Level
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
... 8 more
I should already have 64 bit java i downloaded it before i started this escapade i have a file called "jre-8u241-windows-x64" but i reinstalled it and im still getting the same error could it be something that is caused by java and the server files being on different hard drives?
i have downloaded and installed all of the different versions of java that are available for download and i cant think of any other thing to do in order to fix not having 64 bit java because i have been able to allocate multiple gigs of ram to minecraft which can only be done with 64-bit java
i have done that i have gone through each version available and deleting the old one all the ones that weren't the the 64 bit version through back a different error
Hey guys ive been trying to setup a modded server for the first time im doing the sky factory 3 modpack and i keep running into errors starting with missing JVM.dll which i fixed and another one that i fixed but this is my next roadblock
A problem occurred running the Server launcher.java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at net.minecraftforge.fml.relauncher.ServerLaunchWrapper.run(ServerLaunchWrapper.java:62)
at net.minecraftforge.fml.relauncher.ServerLaunchWrapper.main(ServerLaunchWrapper.java:31)
Caused by: java.lang.NoClassDefFoundError: org/apache/logging/log4j/Level
at net.minecraft.launchwrapper.Launch.launch(Launch.java:94)
at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
... 6 more
Caused by: java.lang.ClassNotFoundException: org.apache.logging.log4j.Level
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
... 8 more
Does anyone have a clue on how to fix this
Hey,
Gonna need the full log in a pastebin to help.
Callum.
Server Hosting - www.bluecraft-hosting.com
https://pastebin.com/p7pyskz4 that should lead to the pastebin off the full cmd log
Post results after executing the following command in a command prompt: java -version
the results were
java -version
java version "1.8.0_241"
Java(TM) SE Runtime Environment (build 1.8.0_241-b07)
Java HotSpot(TM) Client VM (build 25.241-b07, mixed mode, sharing)
Install 64-bit Java.
I should already have 64 bit java i downloaded it before i started this escapade i have a file called "jre-8u241-windows-x64" but i reinstalled it and im still getting the same error could it be something that is caused by java and the server files being on different hard drives?
Repeat the java -version thing and post the results again.
java version "1.8.0_241"
Java(TM) SE Runtime Environment (build 1.8.0_241-b07)
Java HotSpot(TM) Client VM (build 25.241-b07, mixed mode)
That's still 32-bit Java...
then im not sure what to do i put in the exact file name im using to install it
i have downloaded and installed all of the different versions of java that are available for download and i cant think of any other thing to do in order to fix not having 64 bit java because i have been able to allocate multiple gigs of ram to minecraft which can only be done with 64-bit java
Why do you need all versions installed? Uninstall any Java versions and install 64-bit Java ONLY.
i have done that i have gone through each version available and deleting the old one all the ones that weren't the the 64 bit version through back a different error
I had the same problem and have fix it. you need to overwrite the default version.
use: "update-alternatives --config java"
then type <the number of the version> and confirm it with "enter"