fix java to use /dev/urandom on *nix systems