opensim-core
opensim-core copied to clipboard
Instruction for installing java on Mac is out of date
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
Resolved on the forum ... closing.
Reopening ... closed the wrong issue by mistake.
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
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 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.