Only apply the Sonar plug-in if Java is detected.