Setting classpath to ojdbc.jar on UNIX
843859Mar 19 2006 — edited Apr 5 2006I�m trying to connect to an Oracle database using the ojdbc.jar
Class.forName("oracle.jdbc.driver.OracleDriver");
How do I set the classpath on Unix to look inside the .jar file? I know it�s the correct driver because I�ve pulled the oracle/jdbc/driver/* folder from the jar file and it works.
java -cp .;ojdbc.jar getBlob // not working, ojbc.jar is in the same dir as getBlob.java