× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Use RPG ILE instead!
----- Original Message -----
From: "Mike Silvers" <msilvers@hbs-inc.com>
To: "Java400L List" <java400-l@midrange.com>
Sent: Tuesday, January 15, 2002 1:47 PM
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 thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.