|
Hi The program which i call from RPG works fine if i call from CL, This is how i set the classpath in my cl program ADDENVVAR ENVVAR(CLASSPATH) + VALUE('/CXASH/lib/fop.jar:/CXASH/lib/batik.+ jar:/CXASH/lib/avalon-framework-4.1.5.jar:/+cxash/fop') MONMSG MSGID(CPF0000 MCH0000) this just sets the jar files which i want to run my program, Ashish --- Colin Williams <colin.williams@xxxxxxxxxxxx> wrote: > Ashish, > > How are you setting your classpath? > > Cheers > Colin.W > > -----Original Message----- > From: Ashish Kulkarni > [mailto:kulkarni_ash1312@xxxxxxxxx] > Sent: 04 November 2003 15:26 > To: JAVA400-L@xxxxxxxxxxxx > Subject: check java version when calling a java > program from RPG > > > Hi, > i have a program which works fine when i call from > QSH, but i get method not found error when i call it > from RPG > javax/xml/parsers/SAXParserFactory > I doubt when i call the program from RPG some how it > is useing java verson 1.3 and not 1.4 , i have both > installed on my machine, > i have set > java.version=1.4 in SystemDefault.properties in > QIBM/UserData/Java400 folder > on AS400 Where else do i need to set java version my > sequence is following i > call a > RPG -- > CL (This program sets the ADDENVVAR)-- > > Call > java > > Ashish > > __________________________________ > Do you Yahoo!? > Protect your identity with Yahoo! Mail AddressGuard > http://antispam.yahoo.com/whatsnewfree > _______________________________________________ > This is the Java Programming on and around the > iSeries / AS400 (JAVA400-L) > mailing list To post a message email: > JAVA400-L@xxxxxxxxxxxx To subscribe, > unsubscribe, or change list options, > visit: > http://lists.midrange.com/mailman/listinfo/java400-l > or email: JAVA400-L-request@xxxxxxxxxxxx > Before posting, please take a moment to review the > archives > at http://archive.midrange.com/java400-l. > > For the latest on Bertram Books products and > services and for up-to-the-minute book news visit > www.bertrams.com > > > This e-mail and any attachments may contain > information that is confidential and privileged and > is solely for the use of the intended recipient. If > you are not the intended recipient please notify the > sender and delete this e-mail and any attachments > immediately > > > > > > > _______________________________________________ > This is the Java Programming on and around the > iSeries / AS400 (JAVA400-L) mailing list > To post a message email: JAVA400-L@xxxxxxxxxxxx > To subscribe, unsubscribe, or change list options, > visit: > http://lists.midrange.com/mailman/listinfo/java400-l > or email: JAVA400-L-request@xxxxxxxxxxxx > Before posting, please take a moment to review the > archives > at http://archive.midrange.com/java400-l. > __________________________________ Do you Yahoo!? Protect your identity with Yahoo! Mail AddressGuard http://antispam.yahoo.com/whatsnewfree
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.