This week's book giveaway is in the Agile forum.
We're giving away four copies of Fixing your Scrum and have Ryan Ripley & Todd Miller on-line!
See this thread for details.
Win a copy of Fixing your Scrum this week in the Agile forum!
  • 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:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Rob Spoor
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • Junilu Lacar
  • Tim Cooke
Saloon Keepers:
  • Tim Holloway
  • Piet Souris
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
Bartenders:
  • Frits Walraven
  • Himai Minh

What difference does it make if JRE is not there in my system ?

 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Does it make any difference if I have the JDK installed on my machine but not JRE ?
If yes, kindly let me know.
Thanx.
 
Ranch Hand
Posts: 42
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
JDK, Java Development Kit, helps you in compiling, running, debugging,profiling you Java applications/applets. Basically, it has got all the tool required for developing a Java application/applet. JRE, Java Runtime Environment, provides you with the tools required to mainly execute your java applications. ie., your .class file.
When you deploy your Java code, all you need is a JRE(for the deployment platform) to execute it.
 
Wanderer
Posts: 18671
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Everything in the JRE is also part of the JDK, so you're not missing anything. The other way around though, there would be a big difference.
 
Sheriff
Posts: 6920
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
There is one small "gotcha", to beware of. Some JREs provide a n executable called "jre" to be called instead of the more standard "java" to run your applications. Scripts or programs written to use this probably won't work if you only have a JDK or SDK installed. It's simple to change "jre" to "java" if you have access to the source of the invoking program, but it is irritating.
reply
    Bookmark Topic Watch Topic
  • New Topic