Top "Java-home" questions

JAVA_HOME is an environment variable which should point to the root directory of the JDK installation.

Set ANDROID_HOME environment variable in mac

I am new in developing native app using Salesforce SDK. I tried to create android project from command line using …

android environment-variables java-home
Tomcat is not running even though JAVA_HOME path is correct

When I am trying to run tomcat using startup.bat I get the following error, The JAVA_HOME environment variable …

java apache tomcat windows-7 java-home
Why does ANT tell me that JAVA_HOME is wrong when it is not?

I get the error: C:\dev\ws\springapp\build.xml:81: Unable to find a javac compiler; com.sun.tools.javac.…

ant classpath java-home
What is the correct target for the JAVA_HOME environment variable for a Linux OpenJDK Debian-based distribution?

In Windows, JAVA_HOME must point to the JDK installation folder (so that JAVA_HOME/bin contains all executables and …

java grails java-home debian-based
Installing Android Studio, does not point to a valid JVM installation error

I just downloaded the Android Studio. While trying to run it, I had to modify the environment variable and add …

java android jvm environment-variables java-home
How to set JAVA_HOME in Mac permanently?

I am trying to set JAVA_HOME by entering export JAVA_HOME=/Library/Java/Home at terminal. It sets the …

java macos java-home
How can I change Mac OS's default Java VM returned from /usr/libexec/java_home

(Wasn't sure if this should go on SU... migration is certainly an option, but more programmers read questions here, so …

java macos java-home
How do I change the JAVA_HOME for ant?

I'm doing java work on a class server where I don't have root. Whenever I try to compile using ant, …

ant java-home
Jenkins, specifying JAVA_HOME

I installed openjdk-6-jdk on my ubuntu box using apt-get. In system info jenkins is telling me Java.Home is /…

java ubuntu jenkins java-home
"Unable to locate tools.jar" when running ant

When running ant, I get the following message: Unable to locate tools.jar. Expected to find it in C:\Program …

java ant java-home tools.jar