|
"cornelius, chad" wrote: > > The classpath envvar looks as follows: > > Value . . . . . . . . . : > '/home/SancaXmlListener.jar:/home/axis/axis.jar:/home/axis/commons-logging.j > ar ... That looks ok. Can you call a method in the jar file when you let RPG start the JVM? If so, are you sure your procedure to start the JVM is picking up the CLASSPATH environment variable (correctly)? When you start the JVM yourself, it's up to you to set the java.class.path property; if you want to use the CLASSPATH environment variable, you have to do it manually. I have started the JVM myself by calling the CreateJavaVM API when I have jar files in my classpath and it works fine. This is the code I'm using: http://faq.midrange.com/data/cache/282.html. (None of the links to the source code worked for me on the site you posted, so I can't tell how it handles the classpath.)
As an Amazon Associate we earn from qualifying purchases.
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.