Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have recently installed Windows 8 Pro in my Laptop.

I have downloaded the latest Java 7 Update 11 from java.com and installed in the system.

I have changed the $PATH variable and it's current value is:

%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Java\jre7\bin

But still I am geting:

'javac' is not recognized as an internal or external command, operable program or batch file.

I have even restarted my computer once.

What's wrong? What should I do?

share|improve this question

2 Answers 2

javac is in the development kit (JDK), not the runtime environment (JRE).

I can't remember the exact windows path, but look for a jdk folder and then find the bin folder underneath that.

Edit: You did install the Java development kit version, didn't you? Download here if you didn't.

The link at java.com is for the jre.

share|improve this answer

You need to download Java JDK, and add to environment variable PATH your path to bin directory in your SDK.

After it open cmd and type

java -version

you can check it with this command.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.