The purpose of this script was to help the instalation of Autopsy for Linux, but since version 4.13 it changed to OpenJDK, so this script is no longer needed and for that reason it will no longer be updated!
Original description:
Script to install jdk-VERSION-linux-x64.tar.gz
on Ubuntu.
You need to download the jdk-VERSION-linux-x64.tar.gz
file from the Oracle web page.
This script was developed with java 8 from Oracle in mind, but should work with other versions also.
Tested on (K)Ubuntu 18.04 x64
Options:
Install tar.gz file
$ sudo ./oracle-java-installer.sh --install jdk-VERSION-linux-x64.tar.gz
Remove
$ sudo ./oracle-java-installer.sh --remove java-VERSION-oraclejdk-amd64"
See current default java installation
$ ./oracle-java-installer.sh --status
In order to run the Autopsy forensic browser on Linux you need to install the latest version of java 8 from Oracle. Unfortunately, since 2019-04-16 the preferred method for Ubuntu no longer works:
$ sudo add-apt-repository ppa:webupd8team/java
$ sudo apt update
$ sudo apt install oracle-java8-installer
You can read more about this here.
Cite as:
Miguel Frade, & João Sousa. (2019, June 6). labcif/oracle-java-installer. Zenodo. http://doi.org/10.5281/zenodo.3240243 (BibTeX file)