Installation of a jar File in the ext Folder
For this approach you must start with a properly created JAR file containing all the
classes in the package.
- Search your computer for the location of a folder called ext. For
instance, on my computer this folder is contained within the folder in which
I installed the JDK -- c:\jdk1.2\jre\lib\ext (this will vary
depending on the version of the JDK being used).
- WARNING: The location and version of your jdk may be different.
- Copy MyPackage.jar to this folder
- WARNING: With JDK1.3 and later, also copy the jar file to the folder C:\Program
Files\JavaSoft\JRE\1.3.1\lib\ext or whatever it happens to be called
on your computer
- If this doesn't work, try Method 2.
Notes:
- If you are working on a Unix machine,
replace the backslashes with forward slashes.
- If you have installed and use more than one
Java development environment on your computer, there may be several such folders. Copy
MyPackage.jar into each.