Posted February 13, 20169 yr Hi. I've not used minecraft forge in a while and i wanted to make a mod for 1.6.4 as well as 1.7 and 1.8, but I'm unsure what JDK i should use. Will I have to use different JDK versions for each of them?
February 13, 20169 yr Use JDK 8 for the ForgeGradle-based 1.7.10 and 1.8.x builds. Use JDK 7 for the ForgeGradle-based 1.6.4 builds (960-965) or JDK 8 for the most recent MCP-based 1.6.4 build (1345). This tutorial explains how to get started and set up a ForgeGradle workspace. Please don't PM me to ask for help. Asking your question in a public thread preserves it for people who are having the same problem in the future.
February 13, 20169 yr You should always use the latest JDK to build with, but for the Minecraft environment you should TARGET Java 6 because that's what Minecraft itself targets. Target it by using 'targetCompatibility = 1.6' in your build.gradle. I do Forge for free, however the servers to run it arn't free, so anything is appreciated. Consider supporting the team on Patreon
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.