improved detection of java binaries on centos like systems, update #1919