Posted November 27, 20168 yr Here's the error log ===================================== FAILURE: Build failed with an exception. * What went wrong: > Unable to find a javac compiler; com.sun.tools.javac.Main is not on the classpath. Perhaps JAVA_HOME does not point to the JDK. It is currently set to "C:\Program Files\Java\jre1.8.0_101" * Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. BUILD FAILED ===================================== I've tried resetting the JAVA_HOME through C:>set JAVA_HOME="C:\Program Files (x86)\Java\jre" and even fiddled with environment variables for a while, and nothing helps. Setting it through command (from jre to jdk) does nothing, it stays on "C:\Program Files\Java\jre1.8.0_101" and the enviroment variable work just said "Java_Home" not set. Please help me fix the issue, JDK 8 and Minecraft 1.11
November 27, 20168 yr Perhaps JAVA_HOME does not point to the JDK. C:>set JAVA_HOME="C:\Program Files (x86)\Java\jre" I do Forge for free, however the servers to run it arn't free, so anything is appreciated. Consider supporting the team on Patreon
November 28, 20168 yr Author Of course I've used the actual path "/jdk1.8.smth", and, yeah, I should have provided some more accurate info.
November 28, 20168 yr Author You might have to reboot after you change the enviornment variable. Thank you, I'll just try that
November 28, 20168 yr Author Update : I've changed the variable and rebooted, and I still get this [/img]
November 30, 20168 yr Did you add the java jdk to your PATH variable? if you dont know try opening cmd and type "javac -version"
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.