Added some printouts on java vers.