Depending on Operating System, either JDK or JRE must be installed.
If this proposal is merged, this answer will likely be updated to recommend installing the renamed cask. Teradata Studio and Teradata Express requires OpenJDK or Oracle Java of version 8 or 10. There is now a proposal to rename adoptopenjdk8 to openjdk8 in homebrew/cask-versions: Note that which java and which javac show that java and javac are still run from /usr/bin.įollowup step: remove the old Java SE SDK from /Library/Java/JavaVirtualMachines, as documented in: ĪdoptOpenJDK 8 package notes May 2019: adoptopenjdk8 was also added to homebrew/cask-versions, and this led to some issues: Then the following commands confirmed that I was using the desired OpenJDK 8 version by default (with no JAVA_HOME environment variable setting):Īnd the following commands confirmed that I have both Java SE 8 and OpenJDK 8 installed: brew search openjdk # check that the desired adoptopenjdk8 cask is now available.brew tap AdoptOpenJDK/openjdk # (assuming that the desired adoptopenjdk8 cask is not already available).brew search openjdk # check if desired adoptopenjdk8 cask may already available In case there are multiple Java versions the following command used to return in the previous macOS release the path of a specific version: /usr/libexec/javahome -v 1.8 The above command in macOS 11.0.
Recommended prerequisite: check which versions of Java may already be installed using the following command: /usr/libexec/java_home -V