Skip to content

Commit

Permalink
Temp fix for vagrant to update Java version
Browse files Browse the repository at this point in the history
  • Loading branch information
bbejeck committed Oct 28, 2024
1 parent 6d489f5 commit 07058ea
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Vagrantfile
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,8 @@ ec2_iam_instance_profile_name = nil

ebs_volume_type = 'gp3'

jdk_major = '8'
jdk_full = '8u202-linux-x64'
jdk_major = '11'
jdk_full = '11.0.2-linux-x64'

local_config_file = File.join(File.dirname(__FILE__), "Vagrantfile.local")
if File.exists?(local_config_file) then
Expand Down
4 changes: 2 additions & 2 deletions vagrant/base.sh
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ fetch_jdk_tgz() {
fi
}

JDK_MAJOR="${JDK_MAJOR:-8}"
JDK_FULL="${JDK_FULL:-8u202-linux-x64}"
JDK_MAJOR="${JDK_MAJOR:-11}"
JDK_FULL="${JDK_FULL:-11.0.2-linux-x64}"

if [ -z `which javac` ]; then
apt-get -y update
Expand Down

0 comments on commit 07058ea

Please sign in to comment.