Fixed Java version reporting