I need help finding the location of my java_home/bin, or if it even exists. If it doesn't, what more do I need to install?

I am following some installation directions, and one of the steps says:

Ensure that the Java Runtime Environment (JRE) is installed on the computer and that the java_home/bin directory is defined in the system path.

I can't even find the path of java_home. Disregarding the directions for other OS, this is the closest I've come to finding something helpful.

However, when I type the prescribed command, echo %java_home% it just returns %java_home% as a string, percent signs and all. When I try % java -version down further in the page, it tells me %java isn't a recognized command, program, or batch file.

I have Java 8 Update 60 installed, I can see it in my list of programs I can uninstall. From the quote though, I have in mind that if I have a JRE installed, then java_home\bin exists. However, I've had File Explorer search very nearly the entire computer, and found nothing.

2 Answers 2


I need help finding the location of my java_home/bin

  • "Start" > "Control Panel" > "Java".

  • Select "Java" tab.

    enter image description here

  • Click "View"

  • Look in the "Path" column for version of the JRE you have installed.

    enter image description here

In the above example the "Path" contains:


JAVA_HOME should point to the root directory of the Java installation, so in this case:


And the PATH should contain JAVA_HOME\bin, in this case:


From a command prompt we can set these values using the following commands:

setx JAVA_HOME C:\apps\jdk
setx PATH C:\apps\jdk\bin;%PATH%


  • Modify the above commands as appropriate for your Java installation.
  • These are System not User environment variables.

See Installing the JDK Software and Setting JAVA_HOME and PATH and CLASSPATH for more information.

  • What's it mean if it does nothing when I click on Java from the Control Panel? Nov 22, 2016 at 23:22
  • whatever the reason, uninstalling/reinstalling fixed it. In case it matters, I now have version 8, update 111 Nov 22, 2016 at 23:31
  • I suspect you meant setx PATH C:\apps\jdk\bin Nov 23, 2016 at 0:27
  • @donutguy640 Well spotted. Answer corrected.
    – DavidPostill
    Nov 23, 2016 at 9:12

On your keyboard click the windows key and q and search java. Then in the apps section next to about java click the arrow and click open file location. You are here at the file location

If this does not work for you you maybe don't have windows or you have an old version of it or if you have windows and the latest version of windows then I don't know what is wrong.

  • oh yeah and right click it and click open file location
    – LOL
    Aug 19, 2021 at 8:16

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .