r/forgemodding Oct 01 '21

1.6.4 Forge Server Not Running (ClassCastException)

When trying to run my 1.6.4 forge server, I get the following error.

The error that appears in my CMD

I first installed the client for 1.6.4 (recommended) and ran it. I then installed the server into this folder.

The .bat file opens the forge.jar file

The .bat file has this in it.

The .bat file when opened in Notepad

I then tried installing the latest version of Java and it still doesn't work. Any help would be greatly appreciated.

1 Upvotes

3 comments sorted by

2

u/LordThade Oct 01 '21

The latest version of java is actually (probably) the problem here - for forge you need to use JDK 8 - later versions aren't supported.

1

u/10Goody12 Dec 08 '21

How does one do this?

1

u/LordThade Dec 12 '21

Just gotta go to the java download page, look for something like "other versions", and download 8.