I have a Java project, it consists of 3 Java classes, one .properties file (including MySQL username, password etc), and a mysql-connector-java-5.1.41-bin.jar
My question is how I could include the mysql-connector-java-5.1.41-bin.jar when compiling. For this, I do the following right now: Navigate to my Java project folder in CMD -> javac StartApp.java -> java StartApp. It is running well except that it cannot find mysql-connector-java-5.1.41-bin.jar when using methods that requires it.
I am using Windows 7.
What could I do? Everything else is working when running the Jar except that the connection to the MySQL is not working (since it cannot localize the connector Jar). I am getting desperate so any help is much appreciated!