Java can be present without javac being present, don't ask me how, it was the case on my system at least and javac is necessary in PATH