Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / First Aid / March 2006

Tip: Looking for answers? Try searching our database.

JDK + SDK

Thread view: 
Adrian Pach - 07 Mar 2006 11:44 GMT
Hi,

why i need JDK and JRE together. I don't understand it:

1. I can install JDK + JRE in a packet on my maschine. So i have two Folders
JDK1.5.0_06 and JRE1.5.0_06
2. only JDK
3. only JRE

If i install JDK so there is a folder in it with JDK1.5.0_06/jre/ there the
JRE ist include.

So why i must install jre separately? I want to that my browser must be use
this included jre in jdk !!!

There is the diffrent between?

thx a lot
AdrianP
Thomas Weidenfeller - 07 Mar 2006 12:31 GMT
> why i need JDK and JRE together. I don't understand it:
>
[quoted text clipped - 8 lines]
> So why i must install jre separately? I want to that my browser must be use
> this included jre in jdk !!!

a) There is no point in using multiple exclamation marks.

b) At some point the runtime in the JDK was different from the JRE, and
Sun decided to ship a "private" runtime as part of the JDK. The tools in
the JRE are (mostly) written in Java, and the "private" runtime in the
JDK ensures the JDK tools work (more or less) as desired. The private
runtime in the JDK does not register with the OS, it is therefore
"invisible".

Sun probably wants to keep it this way to ensure a JDK is always
executed with a matching runtime. One less point where users could mess
up things.

/Thomas

Signature

The comp.lang.java.gui FAQ:
ftp://ftp.cs.uu.nl/pub/NEWS.ANSWERS/computer-lang/java/gui/faq
http://www.uni-giessen.de/faq/archiv/computer-lang.java.gui.faq/



Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.