java binary may not be on PATH directly in the build container. Derive JAVA_HOME from the jar binary location (which we know works) and prepend JAVA_HOME/bin to PATH so sonar-scanner can find java. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>