Oracle JAVA 8/9 replaced by 10
This commit is contained in:
parent
2fd0ddb134
commit
dc613d80f2
3 changed files with 20 additions and 20 deletions
|
@ -615,21 +615,21 @@ function installJavascriptMenu () {
|
|||
}
|
||||
|
||||
#
|
||||
# install JAVA 9 (headless)
|
||||
# install JAVA 10 (headless)
|
||||
#
|
||||
function installJava9 () {
|
||||
runCmd "echo oracle-java9-installer shared/accepted-oracle-license-v1-1 select true | sudo debconf-set-selections" \
|
||||
"accepting Oracle Java SE 9 licence agreement"
|
||||
installAppsFromList java9
|
||||
function installJava10 () {
|
||||
runCmd "echo oracle-java10-installer shared/accepted-oracle-license-v1-1 select true | sudo debconf-set-selections" \
|
||||
"accepting Oracle Java SE 10 licence agreement"
|
||||
installAppsFromList java10
|
||||
}
|
||||
|
||||
#
|
||||
# install JAVA 9 (Menu)
|
||||
# install JAVA 10 (Menu)
|
||||
#
|
||||
function installJava9Menu () {
|
||||
runCmd "echo oracle-java9-installer shared/accepted-oracle-license-v1-1 select true | sudo debconf-set-selections" \
|
||||
"accepting Oracle Java SE 9 licence agreement"
|
||||
installAppsFromListMenu java9
|
||||
function installJava10Menu () {
|
||||
runCmd "echo oracle-java10-installer shared/accepted-oracle-license-v1-1 select true | sudo debconf-set-selections" \
|
||||
"accepting Oracle Java SE 10 licence agreement"
|
||||
installAppsFromListMenu java10
|
||||
}
|
||||
|
||||
#
|
||||
|
|
|
@ -186,7 +186,7 @@ function showDevInstallMenu () {
|
|||
--menu "Install Dev apps from different submenus" \
|
||||
25 80 16 \
|
||||
"devbase" "dev apps and tools" \
|
||||
"java9" "Java 9 dev env" \
|
||||
"java10" "Java 10 dev env" \
|
||||
"javascript" "JavaScript dev env" \
|
||||
"nodelts" "NodeJS 8.x LTS" \
|
||||
"mongodb3ce" "MongoDB 3 CE" \
|
||||
|
@ -215,8 +215,8 @@ function showDevInstallMenu () {
|
|||
"devbase")
|
||||
installDevAppsMenu
|
||||
;;
|
||||
"java9")
|
||||
installJava9
|
||||
"java10")
|
||||
installJava10
|
||||
;;
|
||||
"javascript")
|
||||
installJavascriptMenu
|
||||
|
|
|
@ -377,8 +377,8 @@ javascript-common;apt;javascript;javascript-common
|
|||
yarn;npm;javascript;yarn
|
||||
emma-cli;npm;javascript;emma-cli
|
||||
jshint;npm;javascript;jshint
|
||||
oracle-java9-installer;apt;java9;oracle-java9-installer
|
||||
oracle-java9-set-default;apt;java9;oracle-java9-set-default
|
||||
oracle-java10-installer;apt;java10;oracle-java10-installer
|
||||
oracle-java10-set-default;apt;java10;oracle-java10-set-default
|
||||
php7.0-cli;apt;php;php7.0-cli
|
||||
php-pear;apt;php;php-pear
|
||||
composer;apt;php;composer
|
||||
|
@ -515,8 +515,8 @@ faenza-icon-theme;addRepo_NoobslabIcons
|
|||
vibrantly-simple-icon-theme;addRepo_Ravefinity
|
||||
rave-x-colors-icons;addRepo_Ravefinity
|
||||
ravefinity-x-icons;addRepo_Ravefinity
|
||||
oracle-java9-installer;addRepo_Java
|
||||
oracle-java9-set-default;addRepo_Java
|
||||
oracle-java10-installer;addRepo_Java10
|
||||
oracle-java10-set-default;addRepo_Java10
|
||||
green-recorder;addRepo_GreenRecorder
|
||||
hugin;addRepo_Hugin
|
||||
simplescreenrecorder;addRepo_SimpleScreenRecorder
|
||||
|
@ -732,10 +732,10 @@ function addRepo_GreenRecorder () {
|
|||
}
|
||||
|
||||
#
|
||||
# Oracle JAVA 7/8/9
|
||||
# Oracle JAVA 10
|
||||
#
|
||||
function addRepo_Java () {
|
||||
addPPA ppa:webupd8team/java
|
||||
function addRepo_Java10 () {
|
||||
addPPA ppa:linuxuprising/java
|
||||
}
|
||||
|
||||
#
|
||||
|
|
Loading…
Reference in a new issue