opensim-core icon indicating copy to clipboard operation
opensim-core copied to clipboard

Instruction for installing java on Mac is out of date

Open carmichaelong opened this issue 3 years ago • 3 comments

brew ask install java doesn't work anymore.

https://github.com/Homebrew/homebrew-cask-versions/issues/7253 https://stackoverflow.com/questions/24342886/how-to-install-java-8-on-mac/55774255 https://github.com/AdoptOpenJDK/homebrew-openjdk

carmichaelong avatar Jul 13 '21 17:07 carmichaelong

Resolved on the forum ... closing.

jenhicks avatar Feb 14 '22 22:02 jenhicks

Reopening ... closed the wrong issue by mistake.

jenhicks avatar Feb 14 '22 22:02 jenhicks

AdoptOpenJDK moved to Eclipse foundation. Renamed to Eclipse Temurin: https://adoptium.net/ https://formulae.brew.sh/cask/temurin

ARM builds: StackOverflow discussion: https://stackoverflow.com/questions/64788005/java-jdk-for-the-apple-m1-chip Builds from Azul: https://www.azul.com/downloads/?os=macos&architecture=arm-64-bit&package=jdk

Mac: https://stackoverflow.com/questions/24342886/how-to-install-java-8-on-mac/55774255

carmichaelong avatar Mar 23 '22 20:03 carmichaelong

The new build script for Mac uses Java8 from Eclipse Temurin:

# Install Java 8 from temurin repositories.
brew tap homebrew/cask-versions
brew install --cask temurin8
export JAVA_HOME=$(/usr/libexec/java_home -v 1.8)
echo $JAVA_HOME

@carmichaelong, should we close this given the readme and the build instructions have been updated?

AlbertoCasasOrtiz avatar Nov 14 '22 19:11 AlbertoCasasOrtiz

@AlbertoCasasOrtiz thanks, I'll close this issue. We'll have to do something similar for ARM builds, but I think the update satisfies this issue and that build script is already a helpful guide for the ARM build.

carmichaelong avatar Nov 14 '22 21:11 carmichaelong