Click the Services tab.
Expand the Databases node.
Right-click Java DB and choose Start Server.
To stop the database using NetBeans IDE, right-click Java DB and choose Stop Server.