|
I get the exception:
java.lang.NoClassDefFoundError: com.ibm.as400.access.AS400
on the AS400 system = new AS400("PSAUNIT"); line of code in the following
code.
Can somebody tell me why?
/**
* Comment
*/
public void connectMenuItem_MouseReleased(java.awt.event.MouseEvent
mouseEvent) {
try
{
AS400 system = new AS400("PSAUNIT");
setSystem(system);
getSystem().connectService(AS400.SIGNON);
getConnectMenuItem().setEnabled(false);
getDisconnectMenuItem().setEnabled(true);
}
catch (IOException e)
{
System.out.println(e + " : " + e.getMessage());
}
catch (AS400SecurityException e)
{
System.out.println(e + " : " + e.getMessage());
}
return;
}
Robert Upshall
Professional Software of Amarillo
(806) 358-8928
rupshall@psasoft.com
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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.