Friday, December 9, 2011

Eclipse and the JDK

I thought I knew the basic relationship between the JDK, the JRE and the JVM. But then the Eclipse IDE raised a question in my mind. I want to know that if I have eclipse installed on my system, do I still need to install JDK separately to be able to compile my Java programs? Here is what I found online.

Eclipse doesn't come with a jdk but a compiler and runtime environment built in. Technically therefore you won't need to install one, though if you want to run or compile from outside the IDE (highly advisable) or want to test against the reference implementation (even better, the built-in compiler isn't 100% compatible) you should.

No comments: