This repository was archived by the owner on Feb 4, 2023. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 593593
594594 # then additionally check the Oracle JRE plugin whether it's a higher/newer compatible version
595595 if [ -x " ${oracle_jre_plugin} " ] ; then
596- this_java_ver=$( get_comparable_java_version $( get_java_version_from_cmd " ${oracle_jre_plugin} " ) )
596+ this_java_ver=$( get_comparable_java_version ${oracle_jre_version} )
597597 # use this compatible version only if the above returned empty or if the version number is higher
598598 if [ -z " ${JAVACMD} " ] || [ ${this_java_ver} -ge ${JAVACMD_version} ] ; then
599599 JAVACMD=" ${oracle_jre_plugin} "
603603
604604 # then additionally check the Apple JRE plugin whether it's a higher/newer compatible version
605605 if [ -x " ${apple_jre_plugin} " ] ; then
606- this_java_ver=$( get_comparable_java_version $( get_java_version_from_cmd " ${apple_jre_plugin} " ) )
606+ this_java_ver=$( get_comparable_java_version ${apple_jre_version} )
607607 # use this compatible version only if the above returned empty or if the version number is higher
608608 if [ -z " ${JAVACMD} " ] || [ ${this_java_ver} -ge ${JAVACMD_version} ] ; then
609609 JAVACMD=" ${apple_jre_plugin} "
You can’t perform that action at this time.
0 commit comments