We help IT Professionals succeed at work.

Where is my JDK ?

matthew016
matthew016 asked
on
Hi,

JRE allows me to execute applications.
JDK allows me to develop.

Is that right ?

In C:\Program Files\Java I find only a dir jre6
Can't find a jdk dir anywhere, though I develop Java applications under Eclipse.
Comment
Watch Question

You will have to install the JDK.
http://java.sun.com/javase/downloads/index.jsp

Look for JDK 6 uPDATE 20 (JDK) - the top one.
Don't forget to add it to your environment.

Right click on my computer > Properties > Environment Variables > System variables
New...
Variable name: JAVA_HOME
Variable value:C:\Java\jdk1.6.0_20  (or wherever it is installed)
Top Expert 2016
Commented:

>>Is that right ?

Yes

>>Can't find a jdk dir anywhere, though I develop Java applications under Eclipse.

You probably don't have one installed. Eclipse has its own compiler
Top Expert 2016

Commented:
:-)