Skip to Main Content

Java SE (Java Platform, Standard Edition)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Jar and jre/lib/ext directory

843798Oct 13 2002 — edited Oct 17 2002
As far as I know, libraries package in Jar files can be copied to $JAVAHOME/jre/lib/ext directory and it can be directly used.

I don't have access to that directory. So I copied the jar file to D:\Shared\Java directory and then in the comand prompt type:

D:>set classpath=%classpath%;D:\Shared\Java

Compiling files that uses the jar package (it is the xmlrpc package actually) will produce error.

I tried extracting all the files in the jar package. That solved my compilation errors.

Is there a way to 'access' the files in the jar package without extracting it?

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 14 2002
Added on Oct 13 2002
6 comments
466 views