aspose file tools*
The moose likes JDBC 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
Bookmark "Derby Server" Watch "Derby Server" New topic
Author

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:
http://db.apache.org/derby/docs/dev/getstart/tgssetupjavaenvir.html
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61413
    
  67

"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.

bear
JavaRanch Sheriff


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

Joined: Dec 18, 2006
Posts: 224
Ahmed,
Your problem sovled or not?
Let us know.
 
jQuery in Action, 2nd edition
 
subject: Derby Server