author | Dario Sestito <darios@symbian.org> |
Thu, 18 Mar 2010 10:14:16 +0000 | |
changeset 931 | 5a526b63fb08 |
parent 930 | 1b4b31b758cd |
child 937 | d01f6a730008 |
--- a/common/tools/envinfo.pl Tue Mar 16 16:28:06 2010 +0000 +++ b/common/tools/envinfo.pl Thu Mar 18 10:14:16 2010 +0000 @@ -151,8 +151,8 @@ # java my $java_ver = 'N.A.'; -my $java_out = `java -version`; -$java_ver = $1 if ($zip_out =~ /^java version (.*)/m); +my $java_out = `java -version 2>&1`; +$java_ver = $1 if ($java_out =~ /^java version (.*)/m); push @environment_info, {name=>'java', version=>$java_ver}; for my $tool_info (@environment_info)