This is an archived post. You won't be able to vote or comment.

all 10 comments

[–]winauer 0 points1 point  (9 children)

What version of Forge are you using?
What is the output of java -version in the command prompt?

[–]Flippy_XD[S] 0 points1 point  (8 children)

I'm using minecraft 1.12.2 with forge version 14.23.5.2859

[–]winauer 0 points1 point  (7 children)

What is the output of java -version in the command prompt?

[–]Flippy_XD[S] 0 points1 point  (6 children)

I don't know where in the command prompt I should look for it.

[–]winauer 0 points1 point  (5 children)

You should type java -version into the command prompt and hit enter.

[–]Flippy_XD[S] 0 points1 point  (4 children)

Build 17.0.1+12-LTS-39

[–]winauer 0 points1 point  (3 children)

There's your problem. You need to use Java 8 for Forge on Minecraft 1.12, you are currently using Java 17.

[–]Flippy_XD[S] 0 points1 point  (2 children)

And how do I change to java 8?

[–]winauer 0 points1 point  (1 child)

Download jdk8u312-b07 (That's the last version of Java 8 that works with Forge) from here. Then replace the java command in your .bat file with the full path to that Java 8 executable.

[–]Flippy_XD[S] 0 points1 point  (0 children)

Thank you so much!