Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes IDEs, Version Control and other tools and the fly likes Netbeans can't connect to database server Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "Netbeans can Watch "Netbeans can New topic
Author

Netbeans can't connect to database server

Timothy Kersha Akura
Greenhorn

Joined: Dec 07, 2010
Posts: 1

I am student of java programming. I am using apache derby server for my JDBC and my NETBEANS IDE cannot connect to the server. What do I do?
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5838
    
    7

Derby is typically used as an in-memory database by a Java process. There is a way to run Derby as a standalone database server, have you performed those steps? You need to do that before you can connect NetBeans to a Derby server.

But you don't need to really do that to write apps that make use of Derby. For that just code to JDBC, use the correct connection string, and add the Derby JAR to your project.


JBoss In Action
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Netbeans can't connect to database server