Skip Headers
Oracle® Java Embedded Suite Application Developer's Guide
Release 7.0
E28526-01
  Go To Table Of Contents
Contents

Previous
Previous
 
Next
Next
 

2 Installing and Verifying

This chapter describes how to install, deploy, and verify the Oracle Java Embedded Suite.

Table of Contents

2.1 Oracle Java Embedded Suite Bundles

The Oracle Java Embedded Suite is distributed in multiple zip file bundles.

2.2 Installing the Bundles

To install the code and samples bundles on a host computer, follow these steps:

  1. Create a directory, installDir, and change to it.

  2. Download the code bundle to the current directory.

  3. Unzip the code bundle, which creates installDir/jes7.0/. In installDir/jes7.0/, the file jes-verify.sh is for diagnostic use by Oracle Support. The other files and directories are described in this guide.

  4. Download the samples bundle to the current directory (installDir).

  5. Unzip the samples bundle, which creates installDir/jes7.0/samples/.

2.3 Deploying the Installation

To deploy an installation to the target device, copy installDir to the device by your choice of methods, such as a network connection or SD memory card. In this section, deployDir refers to the target directory containing jes7.0/.

To save space in the target device's file system, you can remove the samples:

$ rm -rf deployDir/jes7.0/samples 

2.4 Verifying the Deployment

To verify the deployment, run java -version on the target device:

$ cd deployDir/jes7.0/jre/bin
$ ./java -version
java version "1.7.0_06"
Java(TM) SE Embedded Runtime Environment (build 1.7.0_06-b24, headless)
Java HotSpot(TM) Embedded Client VM (build 23.2-b09, mixed mode)
$

Some output details, such as build numbers, might differ.

For further verification, you can set the JAVA_HOME environment variable to deployDir/jes7.0/jre, then run the Java DB sysinfo command (partial output shown, details might differ):

$ cd deployDir/jes7.0/javadb/bin
$ ./sysinfo
------------------ Java Information ------------------
Java Version:    1.7.0_06
Java Vendor:     Oracle Corporation
Java home:       /home/user/jesB7/jes7.0/jre
Java classpath: 
deployDir/jes7.0/javadb/lib/derby.jar:deployDir/jes7.0/javadb/lib/derbynet.jar:
deployDir/jes7.0/javadb/lib/derbytools.jar:deployDir/jes7.0/javadb/lib/derbyclient.jar

...

--------- Derby Information --------
JRE - JDBC: Java SE 7 - JDBC 4.0
[deployDir/jes7.0/javadb/lib/derby.jar] 10.8.2.2 - (1181258)
[deployDir/jes7.0/javadb/lib/derbytools.jar] 10.8.2.2 - (1181258)
------------------------------------------------------
----------------- Locale Information -----------------
------------------------------------------------------
$