Use the
sysinfo
utility included with JavaDB depending on the situation, it will be in the following locations on a Windows system.c:\Program Files\Java\jdk1.7.0_03\db\bin>sysinfo
or
c:\Program Files\glassfish-3.1.1\javadb\bin>sysinfo
Of course it will be a little different OS X or Linux, but you get the gist of it.