LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   Database Connectivity (https://www.linuxquestions.org/questions/programming-9/database-connectivity-817610/)

MughalShahzad 07-02-2010 06:58 AM

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

zirias 07-03-2010 01:03 AM

The "same" location should work, assuming you use the same original JRE on ubuntu. Do you use something different? (like one of the "free" JREs installable in ubuntu or gcj) -- then there is maybe a package in the apt repository for the mysql bindings. But I'd suggest to go with the original...


All times are GMT -5. The time now is 09:21 AM.