my dog learned polymorphism
The moose likes JDBC and Relational Databases and the fly likes Derby Server Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "Derby Server" Watch "Derby Server" New topic

Derby Server

ahmed yehia
Ranch Hand

Joined: Apr 22, 2006
Posts: 424
I m using Derby and working on the NetworkServer mode.
I have trouble starting Server through "startNetworkServer.bat" that is located under %DERBY_INSTALL%\frameworks\NetworkServer\bin, I ve set DERBY_INSTALL and added (derby.jar, derbytools.jar,derbynet.jar) to CLASSPATH as well, also JAVA_HOME is set to my JRE bin folder.

Command error:
JAVA_HOME not set or could not find java executable in JAVA_HOME.
Please set JAVA_HOME to the location of a valid Java installation.
Srikanth Ramu
Ranch Hand

Joined: Feb 20, 2007
Posts: 76
I guess you should set the JAVA_HOME to your JRE folder instead of JRE\bin folder.

For more details refer:
Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 63532

"Nems", you have previously been warned on one or more occasions regarding adjusting your display name to meet JavaRanch standards. This is not optional. Please take a look at the JavaRanch Naming Policy and adjust your display name to match it prior to your next post.

Your display name must be a first and a last name separated by a space character, and must not be obviously fictitious.

Be aware that accounts with invalid display names are removed.

JavaRanch Sheriff

[Asking smart questions] [About Bear] [Books by Bear]
Baseet Ahmed
Ranch Hand

Joined: Dec 18, 2006
Posts: 225

Your problem sovled or not?
Let us know.
I agree. Here's the link:
subject: Derby Server
It's not a secret anymore!