Set JAVA_HOME Path

thomas_moser
New Contributor III

Hi, has anyone tried to set "export JAVA_HOME='/usr/libexec/java_home'" with a policy/script yet?
Or write it into the profile? No success on my side until now :(

The installation of the JDK 8u91 package is succeeding without issues.
Maybe someone can help me :)

1 REPLY 1

Mithrandir
New Contributor III

Had to run rsync to fakeout java version detection. PopOS! isn't really on the list of Jamf-approved Linux distros.

Tried exporting JAVA_HOME, updating alternatives, explicitly stating in both .profile & .bashrc, but for whatever reason the Jamf Pro installer kept insisting that my JAVA_HOME was jdk-17.0.6! Tried a symbolic link 1st, but didn't work until I ran the rsync.