× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



There is no way that I know of, and it is something I have searched a lot in
the past. I didn't know you could do it on windows ( so my searches
obviously weren't very good)

The only way to get round it is cheat and extract the jars into a folder.

However for long term supportability I suggest that you don't do this.



-----Original Message-----
From: java400-l-bounces@xxxxxxxxxxxx [mailto:java400-l-bounces@xxxxxxxxxxxx]
On Behalf Of Scott Johnson
Sent: 20 April 2009 15:30
To: JAVA400-L@xxxxxxxxxxxx
Subject: Classpath Setting Using only Folders

Is it possible to specify the directory path to a folder containing
multiple jar files and not have to specify the jar files directly? This is
for calling Java stuff from within RPG on an i5 running jvm 1.5.

I have tried searching for good examples, but they all show specifying the
jar directly in the ClassPath. I have tested different scenarios and none
seem to work. The java guy here says that in the windows realm they do
something like: "C:\jardir\*;E:\morejars\*". Using '*' does not work on i5.

When dealing with something like JasperReports, specifying all the jars it
uses gets out of hand. I would rather just specify the folder containing
the jars.

Examples I have tried:
/QIBM/UserData/Java400/ext/JasperReports
/QIBM/UserData/Java400/ext/JasperReports/
/QIBM/UserData/Java400/ext/JasperReports/*


Thanks,
Scott J



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-2024 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.