The Java EE 6 Tutorial, Volume I

Starting and Stopping the Java DB Database Server

The Enterprise Server includes the Java DB database.

To start the Java DB database server, open a terminal window or command prompt and execute:


asadmin start-database

To stop the Java DB server, open a terminal window or command prompt and execute:


asadmin stop-database

For information about the Java DB database included with the Enterprise Server, see http://developers.sun.com/javadb/.

    To start the database server using NetBeans IDE, follow these steps:

  1. Click the Services tab.

  2. Expand the Databases node.

  3. Right-click Java DB and choose Start Server.

To stop the database using NetBeans IDE, choose Stop Server.