INTEGRATION: CWS native141 (1.6.56); FILE MERGED
2008/04/09 12:26:27 is 1.6.56.1: #i88049# new java -version output from java 1.6
This commit is contained in:
parent
2669ce5a51
commit
2516fa4583
1 changed files with 12 additions and 0 deletions
|
@ -400,6 +400,18 @@ check_jre_version()
|
|||
break
|
||||
fi
|
||||
done
|
||||
|
||||
# check new version format, where version number is not part of line 3 (1.6)
|
||||
if [ ! "$java_runtime_sufficient" = "yes" ]; then
|
||||
javaoutput=`$java_runtime -version 2>&1 | head ${tail_args} -3`
|
||||
for i in $java_versions_supported; do
|
||||
versionmatch=`echo $javaoutput | grep $i`
|
||||
if [ ! -z "$versionmatch" ]; then
|
||||
java_runtime_sufficient="yes"
|
||||
break
|
||||
fi
|
||||
done
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue