|
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. ================================
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.