The Source for Java Technology Collaboration
User: Password:



Start New Message Delete Post a Reply

Article: 
 The Java Extension Mechanism
Subject:  Java home variable and ext directories
Date:  2005-05-19 03:21:23
From:  tommi_kuenneth
Response to: Java home variable and ext directories


> Thanks for the reply Thomas.

You are very welcome. I am happy to get feedback. In turn I try to help if I can...

> Do you have any idea why Java needs to
> have the two jdk ext directories

So far I have not found information about <jdk home>\lib\ext. My assumption is that this path might be used by the actual development tools, i.e. javac, jar or the like. But then again, so far I have no proof of this.

A nice excercise might be to create a jar containing some test class and put it in that directory. Then I could try to investigate when (and by whom) this test class is seen or found.

> When I 'install' a new jar, which ext directory
> should I use? At the moment i duplicate
> everything, just in case

Based on personal experience, and taking into account the official documentation, my suggestion is to use jdk1.5.0_01\jre\lib\ext. Putting them in both directories should not be neccessary.

Regards
Thomas

 Feed java.net RSS Feeds