Re: JDK vs JRE




thomas_elmstrom@xxxxxxx wrote:
This question have certanly been posted before, but then agin...

What I know:
JDK (Java Developmet Kit) is the pakage for develop java programs.
JRE (Java Runtimme Enviorment) is the pakage to run java programs.

Your understanding is correct.



But why...
does JRE apper in both JDK and standalone when you install the
latest jdk-1_5_0_09-nb-5_0-win-ml.exe?
and, can you somehow remove the standalone JRE (C:\java\jre1.5.0_09)
and redirect everything to the one in JDK (C:\java\jdk1.5.0_09\jre) -
they both seam to have the same files...?


If you uninstall JDK the JRE will still be there. If both are in the
same package (C:\java\jdk1.5.0_09\jre) this might not be possible. And
also u can upgrade ur JRE to the latest version with the old JDK.

-Sundar

.



Relevant Pages

  • Re: problem in installing bdk1.1,plz help
    ... > is giving the error "Installer could not find javaVM or the javaVm in ... JDK a generic term for the software that programmers need to make Java ... So unless you are making your own Java programs, you only need the JRE ...
    (comp.lang.java.help)
  • JDK vs JRE
    ... JDK is the pakage for develop java programs. ... JRE is the pakage to run java programs. ...
    (comp.lang.java.help)
  • Re: Tomcat install using J2SE or JDK?
    ... >> technology, not a specific bundle of it, like JRE or JDK. ... The JDK, ... the things you need to make java programs. ... The JDK includes a JRE, ...
    (comp.lang.java.help)
  • Re: Java Virtual Machine
    ... >>I got the JDK because I want to write Java programs. ... the JRE is all you need. ... I just spent 20 minutes messing with aptitude and couldn't find the java ...
    (Debian-User)
  • [Full-disclosure] [ GLSA 200506-14 ] Sun and Blackdown Java: Applet privilege escalation
    ... Sun and Blackdown both provide implementations of the Java Development ... Kit (JDK) and Java Runtime Environment (JRE). ...
    (Full-Disclosure)