How do I install JDBC driver on 10.5
I am learning Servlet and JSP web development using Eclipse, but I could not get the JDBC connection right. The error message I got was "no suitable driver"
I download the JDBC driver from here: http://www.oracle.com/technology/software/tech/java/sqljjdbc/htdocs/jdbc10201.html
and put the jar file into "/Library/Java/Home"
I checked the class using Class.forName()
Class.forName("oracle.jdbc.driver.oracleDriver");
It could not find the class at all. I don't know what I did wrong.
Any suggestions?
I download the JDBC driver from here: http://www.oracle.com/technology/software/tech/java/sqljjdbc/htdocs/jdbc10201.html
and put the jar file into "/Library/Java/Home"
I checked the class using Class.forName()
Class.forName("oracle.jdbc.driver.oracleDriver");
It could not find the class at all. I don't know what I did wrong.
Any suggestions?