|
Mike -- Do you include the full path to GispPgp.jar in your CLASSPATH? Does com.ShipleyPgpEdi.InDataQueue have a main method? Are you executing this from the command line in Qshell, using RUNJVA or how? If InDataQueue has a main method, try: RUNJVA CLASS('com.ShipleyPgpEdi.InDataQueue') CLASSPATH('full-path-to/GispPgp.jar') Also, does your jar file include the path name com/ShipleyPgpEdi? You may want to send us a jar -tvf GispPgp.jar HTH, Gary > -----Original Message----- > From: java400-l-admin@midrange.com > [mailto:java400-l-admin@midrange.com] On Behalf Of Mike Silvers > Sent: Tuesday, January 15, 2002 10:47 AM > To: Java400L List > Subject: JAR execution > > > OK...this is now officially driving me crazy. I have created > a java application on the 400. After all of the testing, > etc, I was ready for distribution. I created a jar file > containing all of the classes and the import classes. I > looked at the jar file and it contains all of the classes > needed. I try to run the class with no luck. I keep getting > the no class definition found error (how I have come to hate > that error....). I can't figure it out. The classes are > part of a package and the package structure looks good when I > view the jar file. I change the current directory to the > directory that holds the jar file, then I try the java > command. I tried naming the class to run, naming the > qualified class to run, adding the jar file to the classpath, > adding the . to the classpath, everything I can think of. > > Any ideas? > > Thanks > > Mike > > ================================ > > Mike Silvers > AS/400 Senior Programmer/Analyst > AS/400 IBM Certified RPG IV Developer > AS/400 IBM Certified Solutions Expert > Hainey Business Systems > 8 E. Canal St > Dover, PA 17315 > Branch Office: (410) 397-8739 > Phone: (800) 932-3380 > Fax: (717) 292-9474 > Web: http://www.hbs-inc.com > ________________________________ > Providing E-Commerce, EDI, AS/400 > Development and related services > nationwide. > ================================ > > > _______________________________________________ > This is the Java Programming on and around the iSeries / > AS400 (JAVA400-L) mailing list To post a message email: > JAVA400-L@midrange.com To subscribe, unsubscribe, or change > list options, > visit: http://lists.midrange.com/cgi-bin/listinfo/java400-l > or email: JAVA400-L-request@midrange.com > 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.