Loading JDB Mysql libraries at execution
Hi =)
I'm developing a java app that needs the JDBC mysql driver. And so it figures in my code like this:
import java.sql.*;
Executing my app from eclipse, works fine.
But when executing it from Console...it seems it can't load the controller. Or it does not know where it is:
flaab@Debian ~/Desarrollo/Conexion\ $ ls /usr/share/java | grep mysql
mysql-5.0.4.jar
mysql-connector-java-5.0.4.jar
mysql-connector-java.jar
mysql.jar
How can i tell the java command to load them? The -cp arguments does not seem to work.
Thx.

