aspose file tools*
The moose likes Beginning Java and the fly likes %JavaHome%/jre/lib/ext (JDK) and Javasoft/jre/lib/ext (JRE)? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "%JavaHome%/jre/lib/ext (JDK) and Javasoft/jre/lib/ext (JRE)?" Watch "%JavaHome%/jre/lib/ext (JDK) and Javasoft/jre/lib/ext (JRE)?" New topic
Author

%JavaHome%/jre/lib/ext (JDK) and Javasoft/jre/lib/ext (JRE)?

Bruce Jin
Ranch Hand

Joined: Sep 20, 2001
Posts: 671
Question 1: If I have JDK 1.3 installed, do I still need JRE in C:\program files\Javasoft?
Question 2: In which ext directory should I drop my custom jar files?


BJ - SCJP and SCWCD
We love Java programming. It is contagious, very cool, and lot of fun. - Peter Coad, Java Design

Crazy Bikes created by m-Power
marilyn murphy
Ranch Hand

Joined: Aug 28, 2001
Posts: 84
<pre>Question 1: If I have JDK 1.3 installed, do I still need JRE in C:\program files\Javasoft?</pre>
I think you could get by without the JRE. Why do you ask? Are you that short on disk space?

<pre>Question 2: In which ext directory should I drop my custom jar files?</pre>
They normally go in the ext subdir that belongs to C:\program files\Javasoft but you could put them anywhere as long as you incorporate them into your classpath.

[This message has been edited by marilyn murphy (edited October 23, 2001).]
Bruce Jin
Ranch Hand

Joined: Sep 20, 2001
Posts: 671
When I install JDK 1.3, it seems another JRE in C:\program files\ was also installed. This makes me think both JDK and JRE are needed.
When use JDK 1.3, we don�t have to set CLASSPATH at all. (although we need to set path=c:\jdk1.3\bin). Then which ext directory (%JavaHome%/jre/lib/ext or ../Javasoft/jre/lib/ext ?) the Java program will search for custom jar files?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: %JavaHome%/jre/lib/ext (JDK) and Javasoft/jre/lib/ext (JRE)?