Jump to content

asia69

Members
  • Posts

    2
  • Joined

  • Last visited

Everything posted by asia69

  1. I got the issue sorted The problem was I had both a JDK and a JRE My JAVA_HOME system variable was set to the path of the JDK, and not the JRE After changing it everything works as it should Problem sorted.
  2. hello, I'm trying to start a RAD modpack server and when starting the launchserver.bat option, I get this error: E:\Downloads\RAD-Serverpack-1.28>java -Xms2048m -Xmx4096m -XX:PermSize=256m -jar E:\Downloads\RAD-Serverpack-1.28\forge-1.12.2-14.23.5.2831-universal.jar nogui Java HotSpot(TM) 64-Bit Server VM warning: Ignoring option PermSize; support was removed in 8.0 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 net.minecraftforge.fml.relauncher.ServerLaunchWrapper.run(ServerLaunchWrapper.java:70) at net.minecraftforge.fml.relauncher.ServerLaunchWrapper.main(ServerLaunchWrapper.java:34) 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 E:\Downloads\RAD-Serverpack-1.28>pause Press any key to continue . . . This is what I see when I type "java -version": java version "12.0.2" 2019-07-16 Java(TM) SE Runtime Environment (build 12.0.2+10) Java HotSpot(TM) 64-Bit Server VM (build 12.0.2+10, mixed mode, sharing) I've seen multiple posts, similar to mine, but most oftenly they resort the issue by going back to Java 8 Well, because of the new license Java 8 is now Java 12.0.1/2 I'm not sure what to do and if there is any other info I can provide to help someone resort the issue, I'll be glad to help.
×
×
  • Create New...

Important Information

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