Find the answer to your Linux question:
Results 1 to 3 of 3
I don't have any idea where to place the "mysql-connector-java-3.1.14-bin.jar" file in ubuntu 9.10. yesterday I did this in xp successfully by placing this jar file at following locations Java\jre1.6.0_06\lib ...
  1. #1
    Just Joined!
    Join Date
    Jul 2010
    Posts
    4

    Database Connectivity

    I don't have any idea where to place the "mysql-connector-java-3.1.14-bin.jar" file in ubuntu 9.10.
    yesterday I did this in xp successfully by placing this jar file at following locations

    Java\jre1.6.0_06\lib
    Java\jre1.6.0_06\lib\ext

    If someone has any idea that where would it be in ubuntu 9.10 please tell me.

    Moreover, the jar file which I am using for xp; cab be used for ubuntu 9.10 or not if not kindly help me to get this too?

    I am using NetbeansIDE 6.7.1 (installed from Software Center), MySQL 5 Server (sudo apt-get install mysql-server) is this enough?

    Thanks & Regards
    Shahzad

  2. #2
    Linux Guru coopstah13's Avatar
    Join Date
    Nov 2007
    Location
    NH, USA
    Posts
    3,149
    if you installed java with synaptic, it should be located under /usr/lib/jvm and then there will be a directory for what java you installed

    i would recommend installing the package, libmysql-java, though it will install a different version of the connector, any reason you are using such an old version?

  3. #3
    Just Joined!
    Join Date
    Jul 2010
    Posts
    4

    error: com.mysql.jdbc.Driver

    I have installed but displays following error message

    error: com.mysql.jdbc.Driver
    Please reply



    Thanks & Regards
    Shahzad

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...