Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » JDBC driver not found from Eclipse but running fine standalone
JDBC driver not found from Eclipse but running fine standalone [message #990590] Thu, 13 December 2012 10:32
Durgarao ADARI is currently offline Durgarao ADARIFriend
Messages: 2
Registered: November 2012
Junior Member

When I run the below code from Command prompt it is running fine and producing proper output. But when I run from Eclipse I am getting SQLException:No suitable driver found for jdbc:sybase:Tds:InduChennai:5003.

I am using default JDBC ODBC driver which comes packed in rt.jar. This jar file is already available in JRE System Library of the package. Can someone suggest me what could be missing.
Full source file attached. Specific code snippet is

String url = "jdbc:sybase:Tds:InduChennai:5003" ;
conn =DriverManager.getConnection( url, "sa", "INDrda123" ) ;

Thanks in advance
  • Attachment:
    (Size: 1.70KB, Downloaded 246 times)
Previous Topic:Eclipse java.lang.NoClassDefFoundError: org/w3c/dom/ElementTraversal
Next Topic:eclipse for PHP showing changes but not saving them
Goto Forum:

Current Time: Tue Apr 20 11:46:14 GMT 2021

Powered by FUDForum. Page generated in 0.03087 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top