|
i am lazy, i have created a clp that i run before i start QSH----- this stays until you sign off the as400 --you are missing jt400.jar---which is the toolbox *************** Beginning of data ************************************* PGM ADDENVVAR ENVVAR(CLASSPATH) + VALUE('/myjava:/QIBM/ProdData/HTTP/Public/j+ t400/lib/jt400.jar') ENDPGM ****************** End of data **************************************** > -----Original Message----- > From: Pascal Bellerose [SMTP:pascal.bellerose@progisys.com] > Sent: Wednesday, May 24, 2000 2:24 PM > To: 'JAVA400-L@midrange.com' > Subject: Execution problems > > Thanks for your reply, > > I'm only trying to print a little message on the screen and it keeps > on telling me that the class is not found. even if I set the classpaths > with the "export -s" command. > > here'S the classpath definition and the class call as I read it in the > QShell interpreter. > > > $ > > > export -s > CLASSPATH=/QIBM/ProdData/Java400/lib/jdkptf.zip:/QIBM/ProdData/Java400/lib > /j > ava.zip:/QIBM/ProdData/Java400/lib/sun.zip: > > /QIBM/ProdData/Java400/com/ibm/db2/jdbc/app/db2_classes.zip:/QIBM/ProdData > /J > ava400/:/JVAOBJ/ > $ > > > java hello > > java.lang.NoClassDefFoundError: hello > > $ > > > > > > > Please somebody help me!!!! > > > +--- > | This is the JAVA/400 Mailing List! > | To submit a new message, send your mail to JAVA400-L@midrange.com. > | To subscribe to this list send email to JAVA400-L-SUB@midrange.com. > | To unsubscribe from this list send email to > JAVA400-L-UNSUB@midrange.com. > | Questions should be directed to the list owner: joe@zappie.net > +--- +--- | This is the JAVA/400 Mailing List! | To submit a new message, send your mail to JAVA400-L@midrange.com. | To subscribe to this list send email to JAVA400-L-SUB@midrange.com. | To unsubscribe from this list send email to JAVA400-L-UNSUB@midrange.com. | Questions should be directed to the list owner: joe@zappie.net +---
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.