From 364d277b76bf10d562b5b9756d3c76bdcbbc70a7 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Thu, 6 Feb 2020 23:07:31 +0100 Subject: [PATCH] Continued: - can be safely OpenJDK 8 - 4 GB should be okay, 1 GB is simply to less MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Roland Häder --- Vagrantfile | 2 +- provision.sh | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Vagrantfile b/Vagrantfile index 2e0fbfd..8f0be6c 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -5,7 +5,7 @@ Vagrant.configure(2) do |config| config.vm.box = "ubuntu/trusty64" config.vm.provider "virtualbox" do |vb| - vb.memory = "1024" + vb.memory = "4096" end config.vm.provision "shell", path: "provision.sh" diff --git a/provision.sh b/provision.sh index bf6008f..3f321d5 100755 --- a/provision.sh +++ b/provision.sh @@ -51,10 +51,10 @@ configureOSE() { } -# Install OpenJDK7 from Ubuntu repos -installOpenJDK7() { - echo "Installing OpenJDK 7" - apt-get -qqy install openjdk-7-jdk # Install OpenJDK 7 +# Install OpenJDK8 from Ubuntu repos +installOpenJDK8() { + echo "Installing OpenJDK 8" + apt-get -qqy install openjdk-8-jdk # Install OpenJDK 8 } @@ -127,7 +127,7 @@ configureOSE if [ "$JDK" = "ORACLE" ]; then installOracleJDK8 else - installOpenJDK7 + installOpenJDK8 fi installPayara -- 2.39.5