Looking at the latest numbers even the JDK 8 release grew in size.
$ du -hs jdk-*
181M jdk-8u152-linux-x64.tar.gz
339M jdk-9.0.1_linux-x64_bin.tar.gz
331M jdk-9_linux-x64_bin.tar.gz
I'm adjusting the default to 180 and override it for JDK 9 releases
with 340 for now.
j2se_arch=x64
j2se_version_name="${j2se_release} version ${j2se_release}${j2se_update}"
j2se_version=${j2se_relase}${j2se_update}${revision}
+ j2se_expected_min_size=340 #Mb
fi
# Update or GA release (jdk-7u15-linux-i586.tar.gz)
if [[ $j2se_release > 0 ]]
then
j2se_priority=$((310 + $j2se_release))
- j2se_expected_min_size=130 #Mb
+ j2se_expected_min_size=${j2se_expected_min_size:-180} #Mb
# check if the architecture matches
let compatible=1