|
Hi, sorry again, already post a similar answer, Why do you complicate your life and spend a lot of time on calling java from rpg ??? There are 2 different worlds, use a channel to comminicate between the 2 ! Simply (for example) start a java program that wait for your (rpg) input on a DTAQ and returns to a DTAQ... Just my $0.02. Ciao. Crocker, John wrote: >I am too having the same problem... It worked before I went on vacation. >Now I get a similar message. I am calling a regular method and not main. >Maybe just vacation rust but I can't figure out why I am getting this. > >-----Original Message----- >From: java400-l-bounces@xxxxxxxxxxxx >[mailto:java400-l-bounces@xxxxxxxxxxxx]On Behalf Of Anand, Rajesh >Sent: Monday, July 04, 2005 7:53 AM >To: java400-l@xxxxxxxxxxxx >Subject: Error when running Java from RPG > > >Folks, > > I'm baffled as to why this is happening. > > I've a pgm that runs OK in QSH when I use export to set >classpath. > > However, the same pgm in rpg gives me the following error with >the same classpath definition in the ADDENVVAR cmd. > > Message . . . . : Java exception received when calling Java >method (C G D > F). > >Cause . . . . . : RPG procedure GETINTR in program SPANAND/GETINTR >receive > Java exception "java.lang.NoClassDefFoundError: >org/jdom/input/SAXBuilder" > when calling method "main" with signature "(^Ljava.lang.String;)V" in >clas > "gmi.pme.GetIndexService". > >Recovery . . . : Contact the person responsible for program >maintenance t > determine the cause of the problem. > >Possible choices for replying to message . . . . . . . . . . . . . . . : > > > I'm lost and any help would be greatly appreciated. > > rgds, > >Rajesh Anand >Email:Rajesh_anand@xxxxxx >-------------------------------------------------------- > >If you are not an intended recipient of this e-mail, please notify the >sender, delete it and do not read, act upon, print, disclose, copy, retain >or redistribute it. Click here for important additional terms relating to >this e-mail. http://www.ml.com/email_terms/ >-------------------------------------------------------- > >
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.