From: Roland Häder Date: Thu, 6 Feb 2020 22:07:31 +0000 (+0100) Subject: Continued: X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=364d277b76bf10d562b5b9756d3c76bdcbbc70a7;p=payara-vagrant.git Continued: - can be safely OpenJDK 8 - 4 GB should be okay, 1 GB is simply to less Signed-off-by: Roland Häder --- 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