|
Hi! I'm using the Eclipse IDE to develop an application that uses the Toolbox driver (com.ibm.as400.access.AS400JDBCDriver) to connect to and update a database on the AS/400. It runs fine from within Eclipse. However, if I export my application and try to run it directly from Windows, I get the dreaded "ClassNotFoundException" when I try to register the driver with DriverManager. jt400.jar is in my classpath. I've tried exporting to a jar file and using "java -jar myjar.jar" and have also exported the individual class files and used "java myapp". The application's GUI interface comes up, but when I click on the button that actually makes the connection, I get the ClassNotFoundException. I've also tried the -classpath option on the java command to no avail. Any suggestions? FYI I'm using JDK 1.4 and the JTOpen toolbox. Is it possible to extract the necessary classes from jt400.jar and put them in my jar so I can just distribute a single file? Thanks in advance! Richard Casey
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.