This week's book giveaway is in the Java 9 forum.
We're giving away four copies of Java 9 Modularity: Patterns and Practices for Developing Maintainable Applications and have Sander Mak & Paul Bakker on-line!
See this thread for details.
Win a copy of Java 9 Modularity: Patterns and Practices for Developing Maintainable Applications this week in the Java 9 forum!
    Bookmark Topic Watch Topic
  • New Topic

DB Connection!  RSS feed

 
Laura Mike
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
  • Report post to moderator
I m connecting to sql server db located at a remote server.
I m working WASD5.1 environment. Where i set build path for db driver as
d:\was5.1\eclipse\jre\lib\ext\JSQLConnect.jar. (i m using default System JRE of WASD)
and make connection as
Class.forName(driverClassName).newInstance();

but when executed an error is reported saying
java.lang.ClassNotFoundException: com.jnetdirect.jsql.JSQLDriver

help me friends!
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 66254
151
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Report post to moderator
Laura, please do not cross-post a question in multiple forums. It wastes peoples' time when redundant converations take pleace. Please continue any discussion of this matter here.
bear
 
It is sorta covered in the JavaRanch Style Guide.
    Bookmark Topic Watch Topic
  • New Topic
Boost this thread!