About 50 results
Open links in new tab
  1. Setting JAVA_HOME environment variable in MS Windows

    JAVA_HOME if you installed the JDK (Java Development Kit) or JRE_HOME if you installed the JRE (Java Runtime Environment). In the Variable Value field, enter your JDK or JRE installation path . …

  2. How to set the environment variables for Java in Windows

    Step 3: Click on Environment Variables Step 4: Create a new class path for JAVA_HOME Step 5: Enter the Variable name as JAVA_HOME and the value to your jdk bin path ie c:\Programfiles\Java\jdk …

  3. How to set java_home on Windows 7? - Stack Overflow

    Apr 12, 2010 · Set Java Home JAVA_HOME = C:\Program Files\Java\jdk1.7.0 [Location of your JDK Installation Directory] Once you have the JDK installation path: Right-click the My Computer icon on …

  4. How to set or change the default Java (JDK) version on macOS?

    This answer is an attempt to address: how to control java version system-wide (not just in currently running shell) when several versions of JDK are installed for development purposes on macOS El …

  5. How to set JAVA_HOME in Linux for all users - Stack Overflow

    How to set JAVA_HOME in Linux for all users Asked 11 years, 9 months ago Modified 2 years, 6 months ago Viewed 1.6m times

  6. How do I tell Gradle to use specific JDK version? - Stack Overflow

    JAVA_HOME_FOR_MY_PROJECT=<path to my desired JDK> What I don't want point JAVA_HOME to the desired JDK I could live with many suggestions: a solution that defines a system environment …

  7. How to use the command update-alternatives --config java

    It's important to have all /etc/alternative jdk command line tools set to the same version. This script (inspired by the script of @user2733648) sets /etc/alternatives links to all java tools in the …

  8. Windows ignores JAVA_HOME: how to set JDK as default?

    How do I set the default Java installation/runtime (Windows)? The trouble is that Windows ignores JAVA_HOME and it also ignores the fact that I made the JDK bin directory the first entry in the path. …

  9. How to set JAVA_HOME environment variable on Mac OS X 10.9?

    I tried following some of these guides and didn't get very far. Mkyong.com : How to set JAVA_HOME variable in Mac OSX YouTube : How to set environment variables on mac, linux, solaris, rhel …

  10. JAVA_HOME and PATH are set but java -version still shows the old one

    The java executable is not found with your JAVA_HOME, it only depends on your PATH. update-java-alternatives is a good way to manage it for the entire system is through: