Java Reference
In-Depth Information
ample,
NetworkServerControl shutdown
shuts down the network server and
database engine.
Java DB Command-Line Tools
The
%JAVA_HOME%\db
\
bin
directory contains
sysinfo
,
ij
, and
dblook
Win-
dows and Unix/Linux script files for launching command-line tools:
• Run
sysinfo
to view the Java environment/Java DB configuration.
• Run
ij
torunscriptsthatexecuteadhocSQLcommandsandperformrepetit-
ive tasks.
• Run
dblook
to view all or part of a database's Data Definition Language
(DDL).
IfyouexperiencetroublewithJavaDB(e.g.,notbeingabletoconnecttoadatabase),
youcanrun
sysinfo
tofindoutiftheproblemisconfiguration-related.Thistoolre-
ports various settings under the Java Information, Derby Information, and Locale In-
formationheadings—IdiscusslocalesinAppendixC.Itoutputsthefollowinginforma-
tion on my platform:
------------------ Java Information ------------------
Java Version: 1.7.0
Java Vendor: Oracle Corporation
Java home: C:\Program Files\Java\jdk1.7.0\jre
Java classpath: C:\Program
Files\Java\jdk1.7.0\db\lib\derby.jar;C:\Program
Files\Java\jdk1.7.0\db\lib\derbytools.jar;;C:\Program
Files\Java\jdk1.7.0\db/lib/derby.jar;C:\Program
Files\Java\jdk1.7.0\db/lib/derbynet.jar;C:\Program
Files\Java\jdk1.7.0\db/lib/derbyclient.jar;C:\Program
Files\Java\jdk1.7.0\db/lib/derbytools.jar
OS name: Windows XP
OS architecture: x86
OS version: 5.1
Java user name: Jeff Friesen
Java user home: C:\Documents and Settings\Jeff Friesen
Java user dir: C:\PROGRA~1\Java\JDK17~1.0\db\bin
java.specification.name: Java Platform API Specification
java.specification.version: 1.7
java.runtime.version: 1.7.0-b147