oracle_j2sdk_detect() {
j2se_release=0
+ # JDK 9 GA release (jdk-9.0.1_linux-x64_bin.tar.gz)
+ if [[ $archive_name =~ jdk-9(\.([0-9]+)\.([0-9]+))?_linux-x64_bin\.tar\.gz ]]
+ then
+ j2se_release=9
+ j2se_update=${BASH_REMATCH[1]:-.0.0}
+ j2se_arch=x64
+ j2se_version_name="${j2se_release} version ${j2se_release}${j2se_update}"
+ j2se_version=${j2se_relase}${j2se_update}${revision}
+ fi
+
# Update or GA release (jdk-7u15-linux-i586.tar.gz)
if [[ $archive_name =~ jdk-([0-9]+)(u([0-9]+))?-linux-(i586|x64|amd64|arm-vfp-hflt)\.(bin|tar\.gz) ]]
then