Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

placement of jars in the directory structure of jdk

Status
Not open for further replies.

25884

Programmer
Mar 12, 2001
46
0
0
AP
The directory structure for jdk is this:
j2sdk1.4.2 - lib - some jars
jre/lib - some jars

whats the relevance of such a placement of jars?

 
The jars in the j2sdk1.4.2/lib directory provide the extra functionality of the java development environment - such as the java compiler. The jre/lib folder contains the non-developer runtime jars.

Tim
---------------------------
"Your morbid fear of losing,
destroys the lives you're using." - Ozzy
 
jre/lib/ext
is used for external jars - third party jars like oracle, apache, and other stuff.
You don't need to specify lib/ext in the classpath.
- So if you produce a standalone jar, use it explicitly.
- If you need multiple jars, but only seldom, use the classpath.
- If you have a jar which you use often, put it into lib/ext.

seeking a job as java-programmer in Berlin:
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top