Some background info: To run a modded server, I am using a Raspberry Pi 4 8GB and I am trying to run the server through the command line. I am using the Pi's default OS which is called Raspbian. (Btw I am doing this remotely through a program called PuTTy.)
I put in:
java -jar forge-1.7.10-10.13.4.1558-1.7.10-universal.jar nogui
So every time I insert the command above, it comes out with this:
A problem occurred running the Server launcher.java.lang.reflect.InvocationTargetException
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at cpw.mods.fml.relauncher.ServerLaunchWrapper.run(ServerLaunchWrapper.java:43)
at cpw.mods.fml.relauncher.ServerLaunchWrapper.main(ServerLaunchWrapper.java:12)
Caused by: java.lang.ClassCastException: class jdk.internal.loader.ClassLoaders$AppClassLoader cannot be cast to class java.net.URLClassLoader (jdk.internal.loader.ClassLoaders$AppClassLoader and java.net.URLClassLoader are in module java.base of loader 'bootstrap')
at net.minecraft.launchwrapper.Launch.<init>(Launch.java:34)
at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
... 6 more
I did some research and I found a post saying that some of the libraries are missing to get the server running however, I just don't know where to start on this issue.
forge-1.7.10-10.13.4.1558-1.7.10-installer.jar.log