On Unix it is colons (and PASE looks like AIX which is a Unix9

-----Original Message-----
From: java400-l-bounces@xxxxxxxxxxxx [mailto:java400-l-bounces@xxxxxxxxxxxx]
On Behalf Of Gary Thompson
Sent: 30. maj 2013 14:38
To: Java Programming on and around the IBM i
Subject: RE: .jar/.tar file question #2

Thanks Pete, your example makes it clear: [complete path to jar1]
<semi-colon> [complete path to jar2] <semi-colon> continue as needed

-----Original Message-----
From: java400-l-bounces@xxxxxxxxxxxx [mailto:java400-l-bounces@xxxxxxxxxxxx]
On Behalf Of Pete Helgren
Sent: Wednesday, May 29, 2013 6:27 PM
To: Java Programming on and around the IBM i
Subject: Re: .jar/.tar file question #2

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.

--
This is the Java Programming on and around the IBM i (JAVA400-L) mailing
list To post a message email: JAVA400-L@xxxxxxxxxxxx To subscribe,
unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/java400-l
or email: JAVA400-L-request@xxxxxxxxxxxx Before posting, please take a
moment to review the archives at http://archive.midrange.com/java400-l.



--
This is the Java Programming on and around the IBM i (JAVA400-L) mailing
list To post a message email: JAVA400-L@xxxxxxxxxxxx To subscribe,
unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/java400-l
or email: JAVA400-L-request@xxxxxxxxxxxx Before posting, please take a
moment to review the archives at http://archive.midrange.com/java400-l.



As an Amazon Associate we earn from qualifying purchases.

This thread ...


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.