I just got a new computer at home. I've been trying to install JDK 8u11 on my Windows 7 64-bit machine all night. I know I downloaded the correct 64-bit version. I know I have JRE on my computer already, because java -version
returns java version "1.8.0_11"
in cmd. I can see both JRE and JDK in the Add/Remove Programs list. However, my IDE does not recognize that JDK is installed, and when I type javac
in cmd, I get 'javac' is not recognized as an internal or external command, operable program, or batch file.
This leads me to believe that JDK is not actually installed, yet I've tried reinstalling and restarting several times, and like I said before, it shows up in Add/Remove programs. I also can see the \jdk1.8.0_11 file system in \Program Files\Java, right next to the \jre8 folder. The \jdk1.8.0_11 file system looks complete, of course except for the actual application jdk-8u11.exe (or similar file). That is nowhere to be found.
Anyone know what the problem might be?
NOTE: JAVA_HOME
is not an environmental variable. I have tried to manually create the environmental variable, but the following paths did not work:
C:\Program Files\Java\jdk1.8.0_11
C:\Program Files\Java\jdk1.8.0_11\bin
C:\Program Files\Java\jdk1.8.0_11\java.exe