The GlassFish Server includes the Java DB database server.
To start the Java DB 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 included with the GlassFish Server, see http://www.oracle.com/technetwork/java/javadb/overview/index.html.
To stop the database using NetBeans IDE, right-click Java DB and choose Stop Server.