Posted September 14, 201411 yr I reinstalled java on my computer, and now "gradlew clean" is giving the following error message: ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. Please set the JAVA_HOME variable in your environment to match the location of your Java installation. I created a JAVA_HOME environment variable and added both the jdk and jre to the path variable. Typing "java -version" in cmd outputs this: . Can someone help me?
September 14, 201411 yr Author I reinstalled java, but now Idea (my IDE) is error when trying to run the minecraft client: Error:Cannot run program "D:\Program Files\Java\jdk1.8.0_11\bin\java" (in directory "C:\Users\Karel\.IdeaIC13\system\compile-server"): CreateProcess error=2, Het systeem kan het opgegeven bestand niet vinden I can't find a way to tell Idea that java is not installed in "D:\Program Files\Java\jdk1.8.0_11\bin\java", but in "D:\Install\Java\jdk1.7.0_67\bin\java".
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.