Defaulting to openjdk for java and adding a mine function for ip_addrs