• 0

    posted a message on Forge server won't start when I try to use a startup script

    Hello all! I am having an issue with my forge 1.7.10-10.13.4.1614 server. If I double-click on the jar, it starts up fine. If I use the java command in Terminal, (I'm on mac) the server crashes with the following. I have the forge server jar and the base server jar in the same directory with their original names. Can anyone help me? Thanks in advance!

     

    Last login: Mon Aug 31 19:56:01 on ttys000
    /Users/leemodugno/Desktop/Startup\ Scripts/mods.command ; exit;
    Lees-Server:~ leemodugno$ /Users/leemodugno/Desktop/Startup\ Scripts/mods.command ; exit;
    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:567)
    	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
    logout
    Saving session...
    ...copying shared history...
    ...saving history...truncating history files...
    ...completed.
    
    [Process completed]

     

    Posted in: Support
  • To post a comment, please or register a new account.