Fixed Linux java checking thanks to ikarus in IRC