After doing some research I deleted java from my computer and reinstalled jdk 15 (the latest at the time of this post), jdk 8 (because some forums mentioned that some servers only support 8), and the latest jre that my computer prompted me to download (jre1.8.0_271). So I figured that it was an issue with my java and how it is installed. Also had a friend who is experienced with running servers take a look and he said the files and the lines for the batch file looked fine. bat file and changed it to the line recommended by. My Path contains C:\Program Files\Java\jdk-15.0.1\bin My JAVA_HOME is set to C:\Program Files\Java\jdk-15.0.1 Java HotSpot(TM) 64-Bit Server VM (build 15.0.1+9-18, mixed mode, sharing) Java(TM) SE Runtime Environment (build 15.0.1+9-18) I downloaded the server folder from the minecraft technic page for the 1.12.2 pack and upon running the LaunchServer.bat I get the following error: A problem occurred running the Server .InvocationTargetExceptionĪt java.base/.invoke0(Native Method)Īt java.base/.invoke(NativeMethodAccessorImpl.java:64)Īt java.base/.invoke(DelegatingMethodAccessorImpl.java:43)Īt java.base/.invoke(Method.java:564)Īt .n(ServerLaunchWrapper.java:70)Īt .ServerLaunchWrapper.main(ServerLaunchWrapper.java:34)Ĭaused by: : class $AppClassLoader cannot be cast to class ($AppClassLoader and are in module java.base of loader 'bootstrap')Īt .(Launch.java:34)Īt .main(Launch.java:28)
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |