• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Devaka Cooray
  • Campbell Ritchie
  • Tim Cooke
  • Ron McLeod
  • Paul Clapham
Sheriffs:
  • Liutauras Vilda
  • Jeanne Boyarsky
  • paul wheaton
Saloon Keepers:
  • Tim Holloway
Bartenders:

Question about Eclipse and JDK

 
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello,

My quesiton is somewhat basic.
Today I downloaded Eclipse on my new laptop. Laptop already has JRE 1.6 on it. My quesiton is, do I need JDK to work with eclipse my java programs/applications. Basically I am still struglling little bit to understand difference between JDK and JRE. When I downloaded NetBeans while back, I was told on download site that I need JDK for getting NetBeans working. Do I need JDK for for Eclipse.
I know JDK is development kit annd comes with utilities, tools, libraries for developing java. But where exactly it stands with Eclipse. Do I get it default when I downloaded eclipse?
I ran wrote, complied and run one sample java program in Eclipse without having JDK on my machine. It all went fine. So does it mean it comes with it?

Can you please help me to understand this.

Thanks in advance

Prasad
 
Java Cowboy
Posts: 16084
88
Android Scala IntelliJ IDE Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Eclipse has its own, built-in Java compiler. It does not need the JDK to compile Java programs. Eclipse has originally been developed by IBM and has a built-in compiler based on IBM's Jikes Java compiler.
 
WARNING! Do not activate jet boots indoors or you will see a tiny ad:
The new gardening playing cards kickstarter is now live!
https://www.kickstarter.com/projects/paulwheaton/garden-cards
reply
    Bookmark Topic Watch Topic
  • New Topic