Jump to content

Recommended Posts

Posted

Hello. I've used to host on my normal main computer.

I wanted to move to a Amazon AWS (EC2) server because it was faster.

 

I am currently running on Ubuntu.

The error is right below.

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

Yes, I have looked at other people's posts. They had the same issue, but they fixed it by having this "minecraft_server.1.7.10.jar" 

I do have the same file as them, but it still does not work. I am pretty sure I do not have any missing files.

I have used the installer, and used this command:

java -jar forge-1.7.10-10.13.4.1614-1.7.10-installer.jar --installServer

If you can help, please reply.

Posted

Sorry. 1.7.10 is no longer supported on this forum due to its age.

Update to a modern version of Minecraft to receive support.

Some tips:

  Reveal hidden contents

 

Guest
This topic is now closed to further replies.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.