MinecraftForge / ForgeGradle

Minecraft mod development framework used by Forge and FML for the gradle build system
GNU Lesser General Public License v2.1
514 stars 443 forks source link

ForgeGradle incompatible with OpenJDK #601

Closed xyberviri closed 5 years ago

xyberviri commented 5 years ago

Im currently using OpenJDK with OpenJ9 for my JVM off AdoptOpenJDK.net, All tasks fail when using open jdk.

i Installed mccreator and was able to build a block so i checked their console and noticed they redistribute java jdk 1.8.0_202 with it and was able to build my environment at this point by overriding my java home.

gradlew setupDecompWorkspace -Dorg.gradle.java.home="C:/Pylo/MCreator183/jdk"

Just wanted to report the issue because the forge documentation only calls out java 9+ as being incompatible not Java9+ and non oracle java.

Barteks2x commented 5 years ago

Note that OpenJ9 is not openjdk. OpenJDK 8 will work for sure, openj9 probably isn't well tested.

bs2609 commented 5 years ago

You haven't provided enough information to make sure, but this is probably a duplicate of #595.

LexManos commented 5 years ago

Java 9, be it OpenJDK or Hotspot is not supported by FG2.3.