JDBC Tutorials - Herong's Tutorial Examples - v3.14, by Herong Yang
Archived: "sysinfo" - Checking Java DB Installation 10.2.2
This section describes how to use 'sysinfo' to verify Java DB installation.
Obviously, Java DB requires Java SE to be installed. I have Java SE 6 installed on my Windows system as described in other tutorials in this book. To verify Java DB installation and the required Java SE, I used the "sysinfo" tool as suggested in Java DB documents:
herong> cd \local\javadb\bin C:\local\javadb\bin>sysinfo ------------------ Java Information ------------------ Java Version: 1.6.0_02 Java Vendor: Sun Microsystems Inc. Java home: C:\progra~1\java\jdk1.6.0_02\jre Java classpath: C:\local\javadb\bin\../lib/derby.jar; C:\local\javadb\bin\../lib/derbynet.jar; C:\local\javadb\bin\../lib/derbyclient.jar; C:\local\javadb\bin\../lib/derbytools.jar OS name: Windows XP OS architecture: x86 OS version: 5.1 Java user name: herong Java user home: C:\Documents and Settings\herong Java user dir: C:\home\herong java.specification.name: Java Platform API Specification java.specification.version: 1.6 --------- Derby Information -------- JRE - JDBC: Java SE 6 - JDBC 4.0 [C:\local\javadb\lib\derby.jar] 10.2.2.0 - (485682) [C:\local\javadb\lib\derbytools.jar] 10.2.2.0 - (485682) [C:\local\javadb\lib\derbynet.jar] 10.2.2.0 - (485682) [C:\local\javadb\lib\derbyclient.jar] 10.2.2.0 - (485682) ...
The output confirms that my Java DB was installed properly.
Table of Contents
JDBC (Java Database Connectivity) Introduction
Installing and Running Derby (Java DB)
Derby (Java DB) JDBC DataSource Objects
Derby (Java DB) - DML Statements
Derby (Java DB) - ResultSet Objects of Queries
Derby (Java DB) - PreparedStatement
Summary of JDBC Drivers and Database Servers
Using Connection Pool with JDBC
Archived: Downloading and Installing JDK 13 on Mac
Archived: Downloading and Installing JDK on Windows
Archived: Java SE 8 Installation
Archived: Java SE 1.6 Update 2 Installation
Archived: JDK 1.6 Documentation Installation
Archived: Downloading/Installing Derby (Java DB) 10.2.2