Connecting with oracle

Hi all!

I am using jdk1.6 and oracle 9i. My jdbc driver is classes111.jar. Though this is getting loaded but i am not able to connect my application with database. Connection string is-

Connection conn = DriverManager.getConnection("jdbc:oracle:thin@localhost:1521:<SID name>","scott","tiger");

It is throwing SQLException.

Whats wrong?

[374 byte] By [_abhia] at [2007-11-27 5:53:28]
# 1
JDK 1.6 is not supported with Oracle 9i.Use JDK 1.4.
dvohra09a at 2007-7-12 15:46:35 > top of Java-index,Database Connectivity,Java Database Connectivity (JDBC)...