Oracle® Java Embedded Suite Application Developer's Guide Release 7.0 E28526-01 |
|
![]() Previous |
![]() Next |
This chapter describes how to install, deploy, and verify the Oracle Java Embedded Suite.
Table of Contents
The Oracle Java Embedded Suite is distributed in multiple zip file bundles.
Code bundles: There are separate bundles for the x86/Linux and ARM/Linux target platforms.
Samples bundle: The code in the samples bundle is 100% Java and runs on all target platforms.
Documentation bundle: The documentation is provided in HTML and PDF formats. The top level index.html
file links to the documents.
To install the code and samples bundles on a host computer, follow these steps:
Create a directory, installDir, and change to it.
Download the code bundle to the current directory.
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.
Download the samples bundle to the current directory (installDir).
Unzip the samples bundle, which creates installDir/jes7.0/samples/
.
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
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 ----------------- ------------------------------------------------------ $