configure: look for "default-java" as directory for Java

In Debian-based systems, /usr/lib/jvm/default-java is a symlink
pointing to the location of the default Java version.