summaryrefslogtreecommitdiff
path: root/install-itzks-workstation
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2018-01-30 22:56:17 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2018-01-30 22:56:17 +0100
commite16a66f07178afeed0c2df8b14e59899e1d42b1e (patch)
tree202196199552fa8805c15ec6b94e071366eaa5fe /install-itzks-workstation
parent1405dc1831a7570f6e6fcfa0c8c56a60c13bfce1 (diff)
downloaditzks-install-script-e16a66f07178afeed0c2df8b14e59899e1d42b1e.tar.gz
itzks-install-script-e16a66f07178afeed0c2df8b14e59899e1d42b1e.tar.bz2
itzks-install-script-e16a66f07178afeed0c2df8b14e59899e1d42b1e.zip
Assure Oracle Java 8 is installed and set as default Java.
Diffstat (limited to 'install-itzks-workstation')
-rw-r--r--install-itzks-workstation5
1 files changed, 5 insertions, 0 deletions
diff --git a/install-itzks-workstation b/install-itzks-workstation
index 1793f6c..883006a 100644
--- a/install-itzks-workstation
+++ b/install-itzks-workstation
@@ -49,6 +49,11 @@ apt-get install wireless-tools uuid-runtime
# Install libpacparser1
apt-get install libpacparser1
+# Make sure, we have Oracle's JAVA 8... (and that it is the default that people use)
+apt-get install oracle-java8-bin oracle-java8-jre oracle-java8-plugin
+update-java-alternatives --jre --set java-8-oracle
+update-java-alternatives --plugin --set java-8-oracle
+
# Install libdvdcss2 if needed
read -p "Verfügt der Rechner über ein DVD-Laufwerk bzw. sollen DVDs abgespielt werden könnne? (j/n)? " answer
case ${answer:0:1} in