Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 

Repository files navigation

Overview

This shell script can automatically download jdk-8u131-linux-x64, extract it, and configure the Java environment variable. You can also change the download_url to config the different jdk version and change the java folder as you want.

Feature Overview

  • Download oracle jdk8 to your device by the command 'wget',extract it to the /usr/java folder.
  • config the JAVA_HOME,JRE_HOME,PATH,JAVA_PATH.

Usage

You should use this shell script as root.

user@test:~#chmod +x jdkconfig.sh
user@test:~#./jdkconfig.sh

If this script execute successfully,you will see the oracle java version.

Links

About

Use this tutorial to configure the Java environment of the Linux operating system

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages