Install Oracle JRE ARMv5: Difference between revisions

From embeddedTS Manuals
(Created page with "Oracle provides a headless JRE binary for the ARMv5 processor series which is compatible with this processor. In many cases the OpenJDK JRE is sufficient for an application, ...")
 
(Updated URL)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
Oracle provides a headless JRE binary for the ARMv5 processor series which is compatible with this processor.  In many cases the OpenJDK JRE is sufficient for an application, but Oracle's JRE provides better performance.  To install this JRE, first accept the license and download this from Oracle [http://www.oracle.com/technetwork/java/embedded/downloads/javase/index.html here].
Oracle provides a headless JRE binary for the ARMv5 processor series which is compatible with this processor.  In many cases the OpenJDK JRE is sufficient for an application, but Oracle's JRE provides better performance.  To install this JRE, first accept the license and download this from Oracle [http://www.oracle.com/technetwork/java/embedded/embedded-se/downloads/javaseembedded7u45archive-2098821.html here].


Your version number may be slightly different, but the process should remain the same:
Your version number may be slightly different, but the process should remain the same:
Line 11: Line 11:


<pre style="font-family:monospace,Courier New ;background:black; width:18cm; white-space: pre-wrap; white-space: -moz-pre-wrap; word-wrap: break-word; color:white; ">
<pre style="font-family:monospace,Courier New ;background:black; width:18cm; white-space: pre-wrap; white-space: -moz-pre-wrap; word-wrap: break-word; color:white; ">
root@ts7670-481e27:~# java -version
root@ts:~# java -version
java version "1.7.0_45"
java version "1.7.0_45"
Java(TM) SE Embedded Runtime Environment (build 1.7.0_45-b15, headless)
Java(TM) SE Embedded Runtime Environment (build 1.7.0_45-b15, headless)
Java HotSpot(TM) Embedded Client VM (build 24.45-b08, mixed mode)
Java HotSpot(TM) Embedded Client VM (build 24.45-b08, mixed mode)
</pre>
</pre>

Latest revision as of 17:47, 7 February 2018

Oracle provides a headless JRE binary for the ARMv5 processor series which is compatible with this processor. In many cases the OpenJDK JRE is sufficient for an application, but Oracle's JRE provides better performance. To install this JRE, first accept the license and download this from Oracle here.

Your version number may be slightly different, but the process should remain the same:

tar -xf ejre-7u45-fcs-b15-linux-arm-sflt-headless-26_sep_2013.tar.gz
mv ejre1.7.0_45/ /usr/share/oracle-jre/
ln -s /usr/share/oracle-jre/bin/java /usr/bin/java

You can verify this is installed by checking the version:

root@ts:~# java -version
java version "1.7.0_45"
Java(TM) SE Embedded Runtime Environment (build 1.7.0_45-b15, headless)
Java HotSpot(TM) Embedded Client VM (build 24.45-b08, mixed mode)