Hi everyone,
I'm using Eclipse Version: 3.4.0 in debian (kernel 2.6.18-5-686).
I use mysql-connector-java-5.1.5-bin.jar and I added it to the classpath too.
The program works fine when I debug it or run it via Eclipse, but when I export a jar file from it and run the jar file, it gave me "com.mysql.jdbc.Driver" error . It seems it couldn't find mysql-connector-java-5.1.5-bin.jar file.
I should add it works fine when I make jar file with Eclipse on Windows but not in Linux
Does any one know what's causing it and how can I fix it?
Thanks