R
rob
I am trying to get the DBD::JDBC package working under Cygwin on Windows.
However I am running into what seems to be a Java-related issue.
The JAR file (dbd_jdbc.jar) from CPAN (http://search.cpan.org/~vizdom/DBD-JDBC-0.71/JDBC.pod) is supposed to contain a class com.vizdom.dbd.jdbc.Server. Yet when I try to run that as per the instructions I get an error that this class is not found (see below). It looks as if this JAR just doesn't contain that class, which would be odd.
Did anyone come across this, and got it working somehow?
Any suggestions greatly appreciated!
# java -D$DRIVERS -Ddbd.port=9001 -classpath .:/home/dbd/dbd_jdbc.jar:/home/dbd/log4j-1.2.13.jar:/home/dbd/hsqldb-1.8.0.2.jar com.vizdom.dbd.jdbc.Server
Exception in thread "main" java.lang.NoClassDefFoundError: com/vizdom/dbd/jdbc/Server
Caused by: java.lang.ClassNotFoundException: com.vizdom.dbd.jdbc.Server
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
Could not find the main class: com.vizdom.dbd.jdbc.Server. Program will exit.
Rob V.
However I am running into what seems to be a Java-related issue.
The JAR file (dbd_jdbc.jar) from CPAN (http://search.cpan.org/~vizdom/DBD-JDBC-0.71/JDBC.pod) is supposed to contain a class com.vizdom.dbd.jdbc.Server. Yet when I try to run that as per the instructions I get an error that this class is not found (see below). It looks as if this JAR just doesn't contain that class, which would be odd.
Did anyone come across this, and got it working somehow?
Any suggestions greatly appreciated!
# java -D$DRIVERS -Ddbd.port=9001 -classpath .:/home/dbd/dbd_jdbc.jar:/home/dbd/log4j-1.2.13.jar:/home/dbd/hsqldb-1.8.0.2.jar com.vizdom.dbd.jdbc.Server
Exception in thread "main" java.lang.NoClassDefFoundError: com/vizdom/dbd/jdbc/Server
Caused by: java.lang.ClassNotFoundException: com.vizdom.dbd.jdbc.Server
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
Could not find the main class: com.vizdom.dbd.jdbc.Server. Program will exit.
Rob V.