×

Good News Everybody!

The new search engine is LIVE!

Please report any problems to david (at) midrange.com.




Can someone give any insight to why this program will error when running on
the iSeries after a successful compile through the QShell.

import com.ibm.as400.access.*;

public class CheckJt400 {
        public static void main(String[] args)
        {

                System.out.println(AS400.CENTRAL);
                System.out.println(AS400.COMMAND);

*Error Line     System.out.println(AS400.getDefaultUser("10.10.1.10"));

                System.exit(0);
        }
}

Output from Qshell:

6
2
java.lang.NoClassDefFoundError: com/ibm/as400/access/AS400
      java/lang/Throwable.<init>(Ljava/lang/String;)V+4 (Throwable.java:90)
      CheckJt400.main([Ljava/lang/String;)V+0 (CheckJt400.java:7)


Thanks,
Mark Abbott





As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

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

This mailing list archive is Copyright 1997-2026 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.