Hello all I am trying to connect to Oracle Database which is on Unix M/c from windows using a jsp file I m using JWSDK But it throws a Runtime Exception on this line of code Class.forName("oracle.jdbc.odbc.OracleDriver"); Exception is :: java.lang.ClassNotFoundException: Unable to load class oracle.jdbc.odbc.OracleDriver I have added the classes111.zip file to the CLASSPATH which contains this class. I then wrote a small .java file with the Connection code with the classes111.zip in the CLASSPATH and this is working fine Can someone help me why the Exception is thrown when run using jwsdk Has anybody experienced any similar problem Rahul
"Rahul S", The Java Ranch has thousands of visitors every week, many with surprisingly similar names. To avoid confusion we have a naming convention, described at http://www.javaranch.com/name.jsp . We require names to have at least two words, separated by a space, and strongly recommend that you use your full real name. Please choose a new name which meets the requirements. Thanks.
you are using the wrong name for the driver you are loading ...that's what i think check out what is the correct nameof the driver .....even i,am getting confused right now ...but i think this can be the only prob.