setting classpath for mysql java connector in linux
I have read various articles on setting classpath in linux, but couldn't get through and I am still unclear as to how to set the classpath in linux?
I even copied the 'mysql-connector-java-5.1.22-bin.jar' in my project src folder where the .class file is generated but still no success.
I also tried setting the classpath at runtime by: export CLASSPATH=/opt/integra/middleware/LCPAnalyzer/src/mysql-connector-java-5.1.22-bin.jar
but then i got the NoClassDefFoundError exception: