Can you not treat it as an external library and load it into the lib folder? I had a dig around and found this which I have copied straight from Sun's website;
As of Java 6, extension JAR files may also be placed in a location that is independent of any particular JRE, so that extensions can be shared by all JREs that are installed on a system. Prior to Java 6, the value of java.ext.dirs referred to a single directory, but as of Java 6 it is a list of directories (like CLASSPATH) that specifies the locations in which extensions are searched for. The first element of the path is always the lib/ext directory of the JRE. The second element is a directory outside of the JRE. This other location allows extension JAR files to be installed once and used by several JREs installed on that system. The location varies depending on the operating system: SolarisTM Operating System: /usr/jdk/packages/lib/extLinux: /usr/java/packages/lib/extMicrosoft Windows: %SystemRoot%\Sun\Java\lib\ext --- On Fri, 11/28/08, Ulf Dittmer <[EMAIL PROTECTED]> wrote: From: Ulf Dittmer <[EMAIL PROTECTED]> Subject: Re: Apache POI to run in Linux To: "POI Users List" <[email protected]> Date: Friday, November 28, 2008, 3:13 AM Do you mean something like javac -classpath /home/me/poi/poi-3.5-beta3-20080926.jar Sample.java --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
