Results 1 to 3 of 3

Thread: Problems with mysql

  1. #1

    Thread Starter
    Frenzied Member CyberCarsten's Avatar
    Join Date
    Sep 1999
    Location
    Aalborg Ø, Denmark
    Posts
    1,544

    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)

  2. #2

  3. #3
    Dazed Member
    Join Date
    Oct 1999
    Location
    Ridgefield Park, NJ
    Posts
    3,418

    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
  •  



Click Here to Expand Forum to Full Width