Hi I am new to java when I tried to connect oracle with my java sample code I got the above exception
My Code is
import java.sql.*;
import java.io.IO
solution 1 :
I think this exception is due to operating system internal environment problem.
I have got same problem with type 4 driver. But type 1 driver not giving this exception. So that currently I'm using type 1 driver.
Check port number, sid
at tnsnames.ora
C:\oraclexe\app\oracle\product\10.2.0\server\NETWORK\ADMIN\SAMPLE\tnsnames.ora
solution 2 :
install vmware on your computer, install OS, then program will work with type 4 driver.