I am glad Dan included this. If you are new to Java the whole classpath thing can get a little confusing. When I started with Java, I treated the classpath like a PATH statement: Just list the folders where the jar's are hanging out and that is all you need - NOT! Your classpath is a full list (a jar list would be a better name when using jars...) So if you have three jars in a folder: jar1, jar2, and jar3 you have a classpath like this: /folder/path/to/jars/jar1.jar;/folder/path/to/jars/jar2.jar;/folder/path/to/jars/jar3.jar

Library lists spoiled us IBM i folks......

Pete Helgren
www.petesworkshop.com
GIAC Secure Software Programmer-Java

On 5/29/2013 4:23 PM, Dan Kimmel wrote:
You really don't want those in Java400/ext. That's where java extensions go. Java extensions are not subject to the same kind of security checks as normal jars and it is really hard to override jars in that path. For the most part, only security extensions to java should go in the ext path.

Create a directory in the IFS and put all your POI jars in there. When you start your RPG program, make sure the classpath includes a full path to*EACH* jar.

FWIW, depending on what operating system you're using, java will reside in either /QIBM/ProdData/Java400 or /QOpenSys/QIBM/ProdData/Java. All the J9 JVM's live only in QOpenSys.


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2021 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.