Nick Arndt wrote:
Scott I have changed my prototype to this:
d Levenshtein pr o extproc(*java:
d 'Difference':
d *constructor)
...
and moved my Difference.class to a new directory '/JavaSrc', and added that
directory to my classpath.
But I am still getting a noClassDef found error.
...

Your Java class is in the levenshtein package because of the the package statement in the Java source file. Your directory structure must match the Java package structure, and your RPG prototype must match the Java package structure.

So, create directory /JavaSrc/levenshtein, and put Difference.class in that directory. Then put the RPG prototypes back the way they were.

http://publib.boulder.ibm.com/infocenter/systems/scope/i5os/topic/rzasc/sc092507242.htm#callmethown

Also, make sure you start a new job before you run your test again. When the JVM has already been started in a job, it won't pick up any changes to the classpath or to the Java classes.


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

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

This mailing list archive is Copyright 1997-2025 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.