]> git.mxchange.org Git - payara-vagrant.git/commitdiff
Continued:
authorRoland Häder <roland@mxchange.org>
Thu, 6 Feb 2020 22:07:31 +0000 (23:07 +0100)
committerRoland Häder <roland@mxchange.org>
Thu, 6 Feb 2020 22:13:39 +0000 (23:13 +0100)
- can be safely OpenJDK 8
- 4 GB should be okay, 1 GB is simply to less

Signed-off-by: Roland Häder <roland@mxchange.org>
Vagrantfile
provision.sh

index 2e0fbfdee3d98172c0898949daaf5251a1572d8c..8f0be6c967b9d58c80f1e433adf5e0bede22791f 100644 (file)
@@ -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"
index bf6008fc96ef88a6e1f99abfc4a421c10247230e..3f321d5df6c0d6da5b1dae68e808768114c8082e 100755 (executable)
@@ -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