echo
diskfree "$j2se_required_space"
read_maintainer_info
- j2se_package="$j2se_vendor-jre$j2se_release"
+ j2se_package="$j2se_vendor-java$j2se_release-jre"
j2se_name="jre$j2se_release-$j2se_vendor"
local target="$install_dir$jvm_base$j2se_name"
install -d -m 755 "$( dirname "$target" )"
echo
diskfree "$j2se_required_space"
read_maintainer_info
- j2se_package="$j2se_vendor-jdk$j2se_release-doc"
+ j2se_package="$j2se_vendor-java$j2se_release-doc"
j2se_name="jdk$j2se_release-$j2se_vendor-doc"
local target="$install_dir$javadoc_base$j2se_name"
install -d -m 755 "$( dirname "$target" )"
echo
diskfree "$j2se_required_space"
read_maintainer_info
- j2se_package="$j2se_vendor-jdk$j2se_release"
+ j2se_package="$j2se_vendor-java$j2se_release-jdk"
j2se_name="jdk$j2se_release-$j2se_vendor"
local target="$install_dir$jvm_base$j2se_name"
install -d -m 755 "$( dirname "$target" )"
EOF
if read_yn "Is this correct [Y/n]: "; then
j2se_found=true
- j2se_release="${j2se_version:0:3}"
+ j2se_release="${j2se_version:2:1}"
j2se_required_space=$(( $j2se_expected_min_size * 2 + 20 ))
j2se_vendor="oracle"
j2se_title="Java(TM) JRE, Standard Edition, Oracle(TM)"
EOF
if read_yn "Is this correct [Y/n]: "; then
j2se_found=true
- j2se_release="${j2se_version:0:3}"
+ j2se_release="${j2se_version:2:1}"
j2se_required_space=$(( $j2se_expected_min_size * 2 + 20 ))
j2se_vendor="oracle"
j2se_title="Java(TM) JDK, Standard Edition, Oracle(TM) Documentation"
EOF
if read_yn "Is this correct [Y/n]: "; then
j2se_found=true
- j2se_release="${j2se_version:0:3}"
+ j2se_release="${j2se_version:2:1}"
j2se_required_space=$(( $j2se_expected_min_size * 2 + 20 ))
j2se_vendor="oracle"
j2se_title="Java(TM) JDK, Standard Edition, Oracle(TM)"