mysql jdbc connection in MS Visual J++
Help
I am trying to access a mysql database from within a Java program running in MS Visual J++
... I do not get past the first step
I have downloaded...
mysql-connector-java-3.0.15-ga-bin.jar
and installed this in the classpath of the J++ project.
but when i call...
try {
Class.forName("com.mysql.jdbc.Driver").newInstance();
}
catch (Exception ex) {
MessageBox.show("bugger it");
}
J++ crashes with "ClassDefNotFoundError"
I have checked numerous examples in the internet they all do what I am doing.
My only clue is that MSDN say somethin about this could happen if the "digital signature" is not correct. This is running in work and we have pretty tight security setup
Cheers
JEff
Subject
Written By
Posted
mysql jdbc connection in MS Visual J++
October 01, 2004 05:31AM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.