Skip to main content

My Jar application(myapplication.jar + Mysql connector) doesnt work on other computer

Please note these java.net forums are being decommissioned and use the new and improved forums at https://community.oracle.com/community/java.
No replies
febri23
Offline
Joined: 2013-08-24

Guy i developt a simple GUI application to access mySQL database program, i created a jar file, everthings works great on my computer , my application could access database greatly, but the problem is when i run this myapplication.jar on others computers, my GUI (application) showed up but can't access the database.

my questions are:

1. did i have to copy "C:\Program Files\MySQL\MySQL Server 6.0\data\MyDatabase\" files inside my applications folder ?

i've create a manifest file to link myapplication.jar to mysql-connector-java-5.1.17.jar , plus i put mysql-connector-java-5.1.17.jar in same folder, but it seem my application can't access the database on others computers .

Please help me to help my Mom !! :=(: , cos i developt this soft. for my mom's little shop, i'll be so sad if see my mom hires other programmer for high cost , ... PLEASE !!! PLEASE !!1 :=(: help me guys