|
On 09/01/2007, at 4:17 AM, RNewton@xxxxxxxxxxxx wrote:
I am working to get an RPGLE to call a prototyped JAVA program. I've searched the archives and found a post from Mike E back in 2002 about a similar problem. He apeared to get it working but I cannot. I have readchapter 11 in the user guide called RPG and Java (or something like that) linked in the 2002 thread by Barbra Morris I believe about prototyping java calls in rpg. Does anyone see anything wrong with what I am listing below??
Two things:1) If the class is in a jar file you have to specify the full path of the jar file in the CLASSPATH 2) Class names, by convention, begin with an Uppercase character. Are you sure the class is cmpapi and not Cmpapi? In other words, have to spelt things properly?
Regards, Simon Coulter. -------------------------------------------------------------------- FlyByNight Software AS/400 Technical Specialists http://www.flybynight.com.au/ Phone: +61 3 9419 0175 Mobile: +61 0411 091 400 /"\ Fax: +61 3 9419 0175 \ / X ASCII Ribbon campaign against HTML E-Mail / \ --------------------------------------------------------------------
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.