Skip to content
This repository has been archived by the owner on Mar 14, 2023. It is now read-only.

Shell script to intall a oracle jdk-VERSION-linux-x64.tar.gz on ubuntu.

License

Notifications You must be signed in to change notification settings

labcif/oracle-java-installer

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DEPRECATED: oracle-java-installer No Maintenance Intended

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

Usage

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

Why this script

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.

Share

Cite as:

Miguel Frade, & João Sousa. (2019, June 6). labcif/oracle-java-installer. Zenodo. http://doi.org/10.5281/zenodo.3240243 (BibTeX file)

About

Shell script to intall a oracle jdk-VERSION-linux-x64.tar.gz on ubuntu.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Shell 97.1%
  • TeX 2.9%