jdk java home - Search
Open links in new tab
  1.  
  2. Setting JAVA_HOME - Stack Overflow

    • I'm having a problem when running programs that use Java from the command line. I get back a message saying Java.exe could not be found. I've followed the instructions found in several places for setting JASee more

    5 Answers

    If you don't have admin rights, use the below command to set environment variables for … See more

    Stack Overflow
    Your Answer

    By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct. Not the answer you… See more

    Stack Overflow
    Feedback
    Table of Contents
     
    Kizdar net | Kizdar net | Кыздар Нет
    Upvotes145Top Answeranswered Jul 11, 2013 at 19:43

    If you're doing any sort of development, or building with Maven or Ant, you need to point to the JDK (Java Development Kit) where utilities such as javac (the Java Compiler) reside. Otherwise, you can point to the JRE (Java Runtime Environment).

    The JDK contains everything the JRE has and more. If you're just executing Java programs, you can point to either the JRE or the JDK.

    Content Under CC-BY-SA license
    Was this helpful?
     
  1. Installing the JDK Software and Setting JAVA_HOME - Oracle

     
  2. How to set JAVA_HOME environment …

    Apr 27, 2019 · What is JAVA_HOME? By convention, JAVA_HOME is the name of an environment variable on the operating system that points to the installation directory of …

  3. Installing the JDK Software and Setting JAVA_HOME

  4. How to Set JAVA_HOME in Windows 11: A Step-by-Step Guide

  5. How to Set JAVA_HOME in Windows 10: A Step-by-Step Guide …

  6. People also ask
  7. Set JAVA_HOME on Windows 7, 8, 10, Mac OS X, Linux - Baeldung

  8. How to Get OpenJDK Java Home Path in Linux, macOS, and …

  9. How to install the JDK on Windows and set up …

    Aug 8, 2019 · Follow these steps on how to install the JDK on Windows or Linux correctly, and set up JAVA_HOME and PATH environment variables without errors.

  10. How to Install Java JDK 23 on Windows 11 (with JAVA_HOME)

  11. How do I find where JDK is installed on my windows machine?

  12. JAVA_HOME vs PATH Environment Variables - Baeldung

  13. How to find your Java Home when running multiple versions

  14. The JAVA_HOME Environment Variable - Oracle

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

  16. JDK for ARM 8 Update 441 README - Oracle

  17. Oracle Java SE Embedded 8u441 Readme

  18. Should JAVA_HOME point to JDK or JRE? - Stack Overflow

  19. How to Set JAVA_HOME and Java Path on Windows 10 - Java …

  20. java - What is the home directory for JDK? - Stack Overflow

  21. JDK 22 Documentation - Home