Skip to Main Content

Java Programming

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

jdbc problem

807607Nov 3 2006 — edited Nov 3 2006
whem i try to execute this pgm.,it will give me an error that

ERROR CANNOT LOAD RESOURCE FILE SQRESUS.DLL

plz help me and solve my problem

java.sql.*;
public class mew
{
Connection con;

public mew()
{
try{

Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
con=DriverManager.getConnection("jdbc:odbc:dsn1","scott","tiger");
System.out.println("connection sucessfully");
}
catch(Exception e)
{
System.out.println(e);
}
}


public static void main(String sr[])
{
mew m=new mew();
}

}
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 1 2006
Added on Nov 3 2006
1 comment
107 views