1 2 Previous Next 16 Replies Latest reply: Aug 23, 2007 5:12 AM by 807600 RSS

    java.sql.sqlexception: No suitable driver

      Please help me..........
      I am getting "java.sql.sqlexception:No suitable driver" .

      I am getting problem during this statement
      con = DriverManager.getConnection("jdbc:odbc:ram");
      -------where ram is my dsn name.

      My path and class path are as follows:
      set j2ee_home=c:\j2sdkee1.2.1

      set java_home=c:\jdk1.3

      set j2ee_classpath=c:\j2sdkee1.2.1\lib\system\rt.jar;c:\j2sdkee1.2.1\lib\system\classes12.jar;c:\j2sdkee1.2.1\lib\j2ee.jar;

      set path=%path%;c:\jdk1.3\bin;c:\j2sdkee1.2.1\bin;c:\oracle\ora92\bin;.;

      set classpath=%classpath%;c:\jdk1.3\jre\lib\rt.jar;c:\j2sdkee1.2.1\lib\j2ee.jar;c:\oracle\ora92\jdbc\lib\classes12.jar;.;

      I already copied c:\jdk1.3\jre\lib\rt.jar to c:\j2sdkee1.2.1\lib\system\
      and copied classes12.jar to the same destination.

      Note: iam able to establish the connection in core java program but could not in j2ee.
      Anybody plz help me..........
        1 2 Previous Next