Jump to content

Custom Modpack Server Issue


sliggybiggy

Recommended Posts

So I made a modpack, and it works, however, I also made a server package, that doesn't work.
I followed some tutorials on the internet and none of them fixed the issue.

Here's my log

Quote

 

C:\Users\Keith\Documents\KLS\New folder>java -Xmx2G -Xms1G -jar "forge-1.7.10-10.13.4.1614-1.7.10-universal.jar" nogui
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 cpw.mods.fml.relauncher.ServerLaunchWrapper.run(ServerLaunchWrapper.java:43)
        at cpw.mods.fml.relauncher.ServerLaunchWrapper.main(ServerLaunchWrapper.java:12)
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.<init>(Launch.java:34)
        at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
        ... 6 more

C:\Users\Keith\Documents\KLS\New folder>java -version
java version "10.0.2" 2018-07-17
Java(TM) SE Runtime Environment 18.3 (build 10.0.2+13)
Java HotSpot(TM) 64-Bit Server VM 18.3 (build 10.0.2+13, mixed mode)

C:\Users\Keith\Documents\KLS\New folder>pause
Press any key to continue . . .


 


 

Link to comment
Share on other sites

59 minutes ago, sliggybiggy said:

So I made a modpack, and it works, however, I also made a server package, that doesn't work.
I followed some tutorials on the internet and none of them fixed the issue.

Here's my log


 

Y'know, except that one reply where I told not to use Java 10, but java 8. Oh wait, multiple posts over the past few months.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...