|
-
Sep 28th, 2005, 06:19 AM
#1
Thread Starter
Frenzied Member
Problems with mysql
Hi
I have made a code snippet that connect to a MySql database and performs several actions. The code works on windows, but I can not get it to run on my gentoo linux. I have jre 1.5 and jdk 1.5 installed. I get the following runtime error:
java -classpath "/home/carsten/sqlcon/;." SqlTest
Exception in thread "main" java.lang.NoClassDefFoundError: SqlTest
Where sqlcon is the directory containing Connector/J
What is wrong here?
-
Sep 28th, 2005, 08:29 PM
#2
Dazed Member
Re: Problems with mysql
Just curious. Why did you add quotes to the path?
-
Sep 28th, 2005, 08:34 PM
#3
Dazed Member
Re: Problems with mysql
Posted by CyberCarsten
Where sqlcon is the directory containing Connector/J
Also is Connector/J your class or are you referring to the Driver?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|