|
Hi Mike, > the only thing that worked for me was to place the classpath on the > SystemDefault.properties file in my \home\<user profile> folder Not something you want to do if avoidable - and it should be. > The only difference was my code was in a jar file. Jar classpath usage should be be one of: 1) in an extension directory 2) or explicitly on the classpath; for example java -cp /home/me/myJar.jar: myClass 3) or the jar directory is on the classpath and java -jar myJar.jar is used with the jar containing a manifest with startup info. From Jon's 1:15 a.m. message, it appears there is a JDK setup problem. I would remove and reinstall, following the instructions I posted in my earlier response to this thread. Joe Sam Joe Sam Shirah - http://www.conceptgo.com conceptGO - Consulting/Development/Outsourcing Java Filter Forum: http://www.ibm.com/developerworks/java/ Just the JDBC FAQs: http://www.jguru.com/faq/JDBC Going International? http://www.jguru.com/faq/I18N Que Java400? http://www.jguru.com/faq/Java400 ----- Original Message ----- From: "Mike Burdette" <Mike.Burdette@xxxxxxxxxxxxx> To: <java400-l@xxxxxxxxxxxx> Sent: Tuesday, May 31, 2005 9:36 AM Subject: Re: Dumb Question... > Jon: > > I had the same issue and tried lots of the things suggested previously, > however the only thing that worked for me was to place the classpath on > the SystemDefault.properties file in my \home\<user profile> folder in the > IFS. The entry in the file would look something like: > > java.class.path=/home/adpgmmkb/TestClass > > The only difference was my code was in a jar file. > > Hope this helps. > > > Mike Burdette > > Comporium Data Services > Web Development > 471 Lakeshore Parkway > PO Box 270 > Rock Hill, SC 29731 > > 803 326-4153 > 803 326-4252 fax > -- > 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. >
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.