I have developed a Windows MS Access Java app with Netbeans V6.1 Everything works okay in the IDE including loading the MS Access data into a jTable. When I run it from the Windows command line, the app starts but the data is not loaded into the jTable. Instead, I get pages of errors, but the first few are:
java -jar doactions.jar
Picked up _JAVA_OPTIONS: -Xmx512M
Jan 28, 2016 12:22:21 AM doactions.DoActionsView <init>
SEVERE: null
java.lang.ClassNotFoundException: sun.jdbc.odbc.JdbcOdbcDriver
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
doActions
is the app and DoActionsView
is the where the jTable is. It seems that the build does not see the MS Access database defined in the ODBC Manager. Can anyone please offer any help?