So I got a new PC (the other one I was using was pretty bad)
and on the old one I had a minecraft forge Hamachi server id run for me and my friends. I wanted to transfer the server to my new PC and run it there.
I've transferred this server to other PC's before but this time everytime I tried to run it, it would give me a new message of failure everytime I fixed one thing it would come up with another. here is the latest message. I'm willing to provide any additional information than just below if anyone needs, just ask.
Latest Message:
Picked up _JAVA_OPTIONS: -Xmx4096M
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(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.base/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.ClassCastException: java.base/jdk.internal.loader.ClassLoaders$AppClassLoader cannot be cast to java.base/java.net.URLClassLoader
at net.minecraft.launchwrapper.Launch.(Launch.java:34)
at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
... 6 more
Press any key to continue . . .
thanks so much for your help