Win a copy of The Java Performance Companion this week in the Performance forum!

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

Bruce Jin
Ranch Hand
Posts: 672
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?

marilyn murphy
Ranch Hand
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
Posts: 672
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?