• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

JDK JRE

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi all, I know that JDK include JRE and I also know that
JDK (Java Developmet Kit) is the pakage for develop java programs.
JRE (Java Runtimme Enviorment) is the pakage to run java programs.

But my question is that why...
does JRE apper in both JDK and standalone JRE when you install the
latest jdk.
and, can you somehow remove the standalone JRE (C:\java\jre1.5.0_09) (depends on versions)
and redirect everything to the one in JDK (C:\java\jdk1.5.0_09\jre) -
they both seam to have the same files...?
 
Sheriff
Posts: 22791
131
Eclipse IDE Spring Chrome Java Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Could you please not use unnecessary colouring in the future? It makes it harder and/or more annoying to read. As a result people will simply not read it.
 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Are you using Windows? I believe at some point during the JDK installation, the system will prompt you whether or not you need to install the JRE, then you can cancel it.
 
Marshal
Posts: 79505
379
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Welcome to the Ranch, both of you

It may be easier simply to alter your PATH so it only includes the JDK. You will find the installation instructions ยง4 tell you about your PATH.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic