Set Up JDK in Eclipse

Java enthusiasts and coders and programmers alike, how many of you are using Eclipse as your IDE to do your codes. For those in the Java field but still trying to find a good IDE, I would recommend Eclipse. Just so happens that Eclipse codename their newest version with Galileo. Instead of versifying their release, it’s now codenamed.

Here’s the part of a Welcome Screen once Eclipse is freshly installed.

Eclipse Galileo Java

As a Techie, TechieDan will show how to setup your Eclipse to run with your JDK. By default your IDE will try to run with your JRE, but by doing so you will be limited with the stuffs you can do without the whole JDK package.

How to setup your JDK in Eclipse IDE.

Eclipse Menu Preferences

Eclipse JRE settings

Include JDK 6 Eclipse

  1. From the above screen, once Eclipse is started up, go to Windows Option > Preferences.
  2. Look for Java > Installed JREs.
  3. Click on Add > Next (Standard VM).
  4. Then Locate Directory of your installed JDK. Then clicked finish.
  5. Finally the screen will return back to the selection of JREs, now select your JDK option.

As can be seen from above, TechieDan is using JDK 6 to compile and run the Java programs.

Why use Eclipse?

  • It’s free
  • It’s open source – additional programmers from all walk of life.
  • It integrates with lots of other plugin
  • Other than Java, there’s also an Eclipse IDE for C and PHP

Now that I have setup my Eclipse, what else should I do?

Well, this is where you should start learning how to write and begin writing a simple Hello World java program.

Mentioning about Eclipse, where to get this marvelous IDE?

The only place to get it all is at Eclipse’s main website. To download the IDE go to THIS LINK.

17 Comments

  1. Doug Schaible Sr. September 10, 2010
  2. David September 28, 2010
  3. Donal January 12, 2011
  4. vishnu July 9, 2011
    • techieDan July 12, 2011
      • Saty July 19, 2011
  5. Thushan March 30, 2012
  6. Prasanth May 14, 2012
  7. sibananda dash June 19, 2012
  8. Vinay Kumar July 16, 2012
  9. Ines July 24, 2012
    • techieDan July 25, 2012
  10. Mayank Satnalika October 9, 2012
  11. Lillian January 17, 2013
  12. Peabody December 21, 2013
  13. S Nikunj October 20, 2015

Leave a Reply