Posted June 23, 20196 yr Hello, This is my first thread here, I've read the EAQ and I hope everything will be fine. I'm trying to host a localhost Forge server (1.12.2) but, apparently, the Windows Forge Installer (version 14.23.5.2768) doesn't install everything that's required for the server to start up: first of all, it creates no "mods" folder. Secondly, I can't run the server because of some error the console shows me. Here I'll attach the log Forge prints when installing libraries and the start.bat file I use to start my server up, along with a screenshot of the server files I have in there. Thank you, I hope you'll be able to help me.start_server.bat forge-1.12.2-14.23.5.2768-installer-win.exe.log start_server.bat
June 23, 20196 yr Author 1 hour ago, diesieben07 said: That is normal. Post this error. Spoiler C:\Users\ShipHeatRook\Desktop\Localhost>java -Xmx1024M -Xms512M -jar forge-1.12.2-14.23.5.2768-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 net.minecraftforge.fml.relauncher.ServerLaunchWrapper.run(ServerLaunchWrapper.java:70) at net.minecraftforge.fml.relauncher.ServerLaunchWrapper.main(ServerLaunchWrapper.java:34) 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\ShipHeatRook\Desktop\Localhost>PAUSE Here's the error
June 23, 20196 yr Author Could you tell me how to use a specific Java version when executing the command? Or do I need to uninstall every Java version until I only have Java 8? I'm on Windows 10
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.