I am currently trying to set up the development environment for minecraft modding in 1.8, but I am getting the following error:
ERROR: JAVA_HOME is set to an invalid directory: C:\Program Files\Java\jdk1.8.0_66;
Please set the JAVA_HOME variable in your environment to match the location of your Java installation.
Can someone help me?