File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Beginning Java and the fly likes ONE QUESTION! Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "ONE QUESTION!" Watch "ONE QUESTION!" New topic


Robert Bonslater

Joined: Jan 30, 2005
Posts: 28
When downloading and installing JDK 5.0, it seems that the jdk file and jre file are separate. What is the standard directory location these two should be installed? Should they be in separate locations? I also noticed a jre folder already in the jdk file. I that the java runtime that is used, or is the other folder that is used?
David Harkness
Ranch Hand

Joined: Aug 07, 2003
Posts: 1646
The JDK includes a JRE, but the JRE is also available on its own for client installations that don't need to compile Java code. If you're using the JDK, install it by itself and it will use the JRE included in it.
Robert Bonslater

Joined: Jan 30, 2005
Posts: 28
Thanks David,

but how does this work exactly. How does this separate jre function with the client.
Jeroen Wenting
Ranch Hand

Joined: Oct 12, 2000
Posts: 5093
If the client doesn't need the compiler (and why should he) he can install just the standalone JRE and have a smaller footprint on his computers (as well as a smaller download).

I agree. Here's the link:
subject: ONE QUESTION!
It's not a secret anymore!