$ $CLASSPATH
$ $ source .profile
$ $CLASSPATH
> bash: :/usr/java/connectors/mysql-connector-java-5.1.23-bin.jar: No such file or directory
$ /usr/java/connectors/mysql-connector-java-5.1.23-bin.jar
> no main manifest attribute, in /usr/java/connectors/mysql-connector-java-5.1.23-bin.jar
What I'm having trouble understanding is, when I run it from $CLASSPATH (to see if it has been set) why it's not being detected. Shouldn't it be the same if I type it in? I'm getting two different results.
the connector is 0777 with owner root:root.