Bug#899239: java-package: please add support for java 10
Roberto De Oliveira
rcdeoliveira at gmail.com
Sat Aug 25 16:35:42 BST 2018
Definitely it is related with new file name pattern adopted by Sun. I
don't know much about the script, but I add the following name pattern
matching to usr/share/java-package/oracle-jre.sh and it works:
# Update to match with version 10 and newer
if [[ $archive_name =~ ^jre-([0-9]+)\.([0-9]+)\.([0-9]+)_linux-
(i586|x64|amd64)_(bin|tar\.gz) ]]
then
j2se_release=${BASH_REMATCH[1]}
j2se_update=${BASH_REMATCH[3]}
j2se_arch=${BASH_REMATCH[4]}
if [[ $j2se_update != "" ]]
then
j2se_version_name="$j2se_release Update $j2se_update"
j2se_version=${j2se_release}u${j2se_update}${revision}
else
j2se_version_name="$j2se_release GA"
j2se_version=${j2se_release}${revision}
fi
fi
--
Saludos,
Roberto De Oliveira
More information about the pkg-java-maintainers
mailing list