Is there a way to make Forge work with Java 8?

Solution 1:

If you are using Minecraft Forge version 10.13.1.1217 or later

You do not need to do anything. Newer versions of Minecraft Forge have fixed the incompatibility with Java 8. If you are experiencing crashes still with this version of Minecraft Forge or later, it is not related to Java 8.

If you are using an older version of Minecraft Forge

The compatibility problem between Forge and Java 8 comes down to an issue with 1 file. Luckily, some kind soul has created a patch which fixes this problem.

The patch download can be found here on the Minecraft forums. Make sure you get the correct one for the version of Minecraft/Forge you're running.

Once you've downloaded the patch, follow these steps to install:

  1. Navigate to the Forge directory. If you are using Windows you can get there by typing the following into your file browser:

    For Minecraft version 1.6.4: %appdata%\.minecraft\libraries\net\minecraftforge\minecraftforge\9.11.1.965

    For Minecraft version 1.7.2: %appdata%\.minecraft\libraries\net\minecraftforge\forge\1.7.2-10.12.2.1147 (or switch 1147 for the Forge version you're using)

    For Minecraft version 1.7.10: %appdata%\.minecraft\libraries\net\minecraftforge\forge\1.7.10-10.13.0.1208

  1. Open the Forge .jar file using WinRAR or 7zip or whichever program you have for this.
  2. Delete the META-INF file (like the good old days!)
  3. Navigate through the following file path: cpw/mods/fml/relauncher
  4. In there you should find a file called CoreModManager.class - replace this file with the one you downloaded.
  5. You should now be able to play Minecraft! Have fun :)

Solution 2:

Just install Java JRE 7, as it should work. Or download Java 8 Update 19 or lower