Provides the Java Development Kit (OpenJDK) via Homebrew, mandatory for Android Studio, IntelliJ IDEA, and Java-based backend services.
- Detection: Checks if
openjdkis installed via Homebrew. - Remediation: Drops to user privileges, installs
openjdk, and gracefully handles the symlinking required by macOS so that system wrappers (like/usr/libexec/java_home) recognize the new JDK.
- Upload script:
install-java-jdk.sh - Run script as signed-in user: No