Install `OpenJDK 8` for Ubuntu 22.04.

This commit is contained in:
Kazuhiro MUSASHI 2022-07-18 22:21:35 +09:00
parent a86939bbb2
commit a661d3cf0d
1 changed files with 9 additions and 2 deletions

View File

@ -25,6 +25,13 @@ link '/usr/local/bin/embulk' do
force true
end
package 'default-jre' do
action :install
case node['platform_version'].to_f
when 22.04
package 'openjdk-8-jre' do
action :install
end
else
package 'default-jre' do
action :install
end
end