I opened Tnsnames.ora file
and I found Protocol: TCP
Service name: orcl
host: 198.168.0.6
Port 1521
I changed url to jdbcracle:thin:@198.168.0.6:1521:orcl
I also tried with \\198.168.0.6.
In college lab, while connecting to oracle
we use name as scott, password as tiger and host
string as 'oracle9i'
Also we are using jdk 1.5/ jdk 1.6/ jdk 1.7 in labs.
Now I searched for classes.jar file and I found that classes108.zip and classes111.zip are available only. Then I downloaded ojdbc6.jar but problem did not resolve