To register for an Internet.com membership to receive newsletters and white papers, use the Register button ABOVE.
To participate in the message forums BELOW, click here
VBForums  

VB Wire News
Part 10 of the Visual Basic .NET 2010 Express Tutorial Complete!
How to Use the Visual Studio Code Analysis Tool FxCop
Article :: Interview with Andrei Alexandrescu (Part 3 of 3)
Introducing Visual Studio LightSwitch
Visual Studio LightSwitch Beta 1 is Available



Go Back   VBForums > Other Languages > Java

Reply Post New Thread
 
Thread Tools Display Modes
Old Sep 28th, 2005, 06:19 AM   #1
CyberCarsten
Frenzied Member
 
CyberCarsten's Avatar
 
Join Date: Sep 99
Location: Aalborg Ø, Denmark
Posts: 1,544
CyberCarsten is an unknown quantity at this point (<10)
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?
__________________
razor
Software Engineer Student, Aalborg University, Denmark
http://www.cs.auc.dk

My email at AUC: will get a new email soon
My website: http://www.razorsoftware.net


Windows XP Pro/ Gentoo Linux (Laptop)
Windows XP Pro (Home PC)
CyberCarsten is offline   Reply With Quote
Old Sep 28th, 2005, 08:29 PM   #2
Dillinger4
Dazed Member
 
Dillinger4's Avatar
 
Join Date: Oct 99
Location: Ridgefield Park, NJ
Posts: 3,416
Dillinger4 is on a distinguished road (20+)
Re: Problems with mysql

Just curious. Why did you add quotes to the path?
Dillinger4 is offline   Reply With Quote
Old Sep 28th, 2005, 08:34 PM   #3
Dillinger4
Dazed Member
 
Dillinger4's Avatar
 
Join Date: Oct 99
Location: Ridgefield Park, NJ
Posts: 3,416
Dillinger4 is on a distinguished road (20+)
Re: Problems with mysql

Quote:
Posted by CyberCarsten

Where sqlcon is the directory containing Connector/J
Also is Connector/J your class or are you referring to the Driver?
Dillinger4 is offline   Reply With Quote
Reply

Go Back   VBForums > Other Languages > Java


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 05:08 AM.





Acceptable Use Policy

Internet.com
The Network for Technology Professionals

Search:

About Internet.com

Legal Notices, Licensing, Permissions, Privacy Policy.
Advertise | Newsletters | E-mail Offers

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.