Fix java version parsing regex

Fix java version parsing regex.

Old regex failed for parsing below string on aix.
Java(TM) 2 Runtime Environment, Standard Edition (build pap32dev-20120810 (SR14 ))