Re: How do I add the Connector/J location to my Java Classpath on a Mac?
Hi,
You just need to copy the file `mysql-connector-java-8.0.12.jar` to any directory of your liking. Usually it goes into a `libs` directory in the project tree, but it's really up to your preferences.
Regarding adding it to the Java CLASSPATH, this is just a reference to make it available in your project, which is usually done by providing the command option `-cp` in the java and javac executables. Refer to
https://docs.oracle.com/javase/tutorial/essential/environment/paths.html for additional information about this.
I don't know what you are trying to do but for project development I'd recommend using any available IDE out there. All of them have some sort of project configuration structure where you config the project's classpath. This is what you should start with, if that's the case.
IHTH
Subject
Written By
Posted
Re: How do I add the Connector/J location to my Java Classpath on a Mac?
August 27, 2018 08:39AM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.