Good News Everybody!
The new search engine is LIVE!
Please report any problems to david (at) midrange.com.
|
This is a question about JavaAppliactionCall class in AS400 Toolbox for Java.
I use VJavaApplicationCall to call a java program on AS400 by using the following code:
AS400 system = new AS400("myAS400");
JavaApplicationCall javaCall = new JavaApplicationCall(system);
VJavaApplicationCall vJavaCall = new VJavaApplicationCall(javaCall);
JFrame f = new JFrame ("JavaApplicationCallExample");
f.getContentPane().setLayout(new BorderLayout ());
f.getContentPane().add("Center", vJavaCall);
f.pack();
f.show();
On the displayed GUI commend line, how should I know I am at the current AS/400 directory to run my Test.class? If I just run it as:
java Test
I got java.lang.NoClassDefFoundError. The same jave program has no problem running on AS/400 QShell.
Do I need to chang the directory to where my class reside? How to do it?
Thanks for your help.
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.