3 Replies Latest reply: Jul 20, 2008 1:50 AM by 807589 RSS

    Putting Jar in ClassPath/Loading JDBC Driver on Linux


           I have got this to work on Windows � but then I simply put the Connector-J Jar into the �lib� directory of my Java installation. On this Linux machine I do not have the privileges to the �lib� directory � so I need to add the Jar to the class path � but it is not seeming to get added.
           I would appreciate any suggestions. I have copied the Connector-J Jar file to the Current working directory and I have tried

      java -classpath './mysql-connector-java-5.1.6-bin.jar' -Xmx512M -jar ProcessBigDump_fat.jar

      java -cp mysql-connector-java-5.1.6-bin.jar -Xmx512M -jar ProcessBigDump_fat.jar

      Thank you for any ideas.