Jump to content

Recommended Posts

Posted

As you can tell from the picture, I have the latest recommended revision of Forge.

I've now tried to reinstall it twice, and it still doesn't work. The minecraft_server.1.12.2.jar file executes and runs everything without any errors, but the highlighted forge-1.12.2-14.23.1.2562-universal.jar file will do nothing whatsoever when I try to open it.

No window appearing, no nothing.

 

Any ideas as to what can be causing this? I've updated Java and Java SE Development kit etc. So this can't be causing the issue either.

 

Thanks in advance.

files.png

Posted

As in creating a .bat file with the text "-jar forge-1.12.2-14.23.1.2562-universal.jar" and running it?

Doesn't do anything, except instantly open and reclose CMD.

Posted

As in open CMD, pasta, press enter?

Doesn't do anything.

 

If you mean as in opening minecraft_server.1.12.2.jar and pasting it, then it gives me "Unknown command. Try /help for a list of commands" error.

 

There are really no other command lines.

Posted

C:\Users\TatTvaum\Desktop\Minecraft>java -jar forge-1.12.2-14.23.1.2562-universal.jar
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:62)
        at net.minecraftforge.fml.relauncher.ServerLaunchWrapper.main(ServerLaunchWrapper.java:31)
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

  • 1 year later...
Posted

Please don't Necro old threads, if you have an issue make your own.

This is my Forum Signature, I am currently attempting to transform it into a small guide for fixing easier issues using spoiler blocks to keep things tidy.

 

As the most common issue I feel I should put this outside the main bulk:

The only official source for Forge is https://files.minecraftforge.net, and the only site I trust for getting mods is CurseForge.

If you use any site other than these, please take a look at the StopModReposts project and install their browser extension, I would also advise running a virus scan.

 

For players asking for assistance with Forge please expand the spoiler below and read the appropriate section(s) in its/their entirety.

  Reveal hidden contents

 

Guest
This topic is now closed to further replies.

Announcements



  • Create New...

Important Information

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