Oracle Java for Linux: Difference between revisions

From Free Knowledge Base- The DUCK Project
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 10: Line 10:
Have you downloaded Oracle Java?  as of TOR you could find it [ [http://www.oracle.com/technetwork/java/javase/downloads/jre8-downloads-2133155.html here] ] and the file you need is/was called [ jre-8u181-linux-x64.tar.gz ]
Have you downloaded Oracle Java?  as of TOR you could find it [ [http://www.oracle.com/technetwork/java/javase/downloads/jre8-downloads-2133155.html here] ] and the file you need is/was called [ jre-8u181-linux-x64.tar.gz ]


''note: jre-8u181-linux-x64.tar.gz for 64 bit, jre-8u181-linux-i586.tar.gz 32 bit, and adjust the version number or build number for what is current at the time you are reading this.  (as of 2018 there is a jre 10, however, many software recommends jre 8)''
<small>''note: jre-8u181-linux-x64.tar.gz for 64 bit, jre-8u181-linux-i586.tar.gz 32 bit, and adjust the version number or build number for what is current at the time you are reading this.  (as of 2018 there is a jre 10, however, many software recommends jre 8).  Companies like Oracle tend to move things around on their website unnecessarily often, so more than a week after TOR that link is probably defunct.''</small>


Adjust any version numbers to accommodate your system, otherwise instructions assume currents as of TOR: typically OpenJDK version 7.
Adjust any version numbers to accommodate your system, otherwise instructions assume currents as of TOR: typically OpenJDK version 7.

Revision as of 06:57, 4 August 2018

JRE

JRE on 32-bit and 64-bit Debian / Ubuntu / Mint Linux operating systems.

End users looking for java to run software are looking for JRE. OpenJRE / OpenJDK is an alternative to Oracle Java that is the default on packaged linux systems such as Ubuntu / Kbuntu / Mint.

Are you 32 or 64 bit? Type:

uname -m

Have you downloaded Oracle Java? as of TOR you could find it [ here ] and the file you need is/was called [ jre-8u181-linux-x64.tar.gz ]

note: jre-8u181-linux-x64.tar.gz for 64 bit, jre-8u181-linux-i586.tar.gz 32 bit, and adjust the version number or build number for what is current at the time you are reading this. (as of 2018 there is a jre 10, however, many software recommends jre 8). Companies like Oracle tend to move things around on their website unnecessarily often, so more than a week after TOR that link is probably defunct.

Adjust any version numbers to accommodate your system, otherwise instructions assume currents as of TOR: typically OpenJDK version 7. To REMOVE OpenJDK and install Oracle Java JRE do the following.

1. remove OpenJDK

sudo apt-get autoremove openjdk-7-jre

2. confirm complete removal (other instructions online do not accomplish this ie WikiHow)

sudo java -version

You should see the error: No such file or directory <- that is good!

3. make a home

sudo mkdir /usr/local/java

4.