kunstmusik / blue

Blue - An Integrated Music Environment
https://blue.kunstmusik.com
GNU General Public License v2.0
131 stars 12 forks source link

OpenJDK path for Blue #677

Open Deftaudio opened 2 years ago

Deftaudio commented 2 years ago

Hi, I'm on macOS Monterey. I have openjdk installed from brew per the instruction below but Blue still can't start and find Java. Please suggest the proper installation steps. I'm running Release 2.8.1

For Java 11 follow this 2 steps, first : JAVA_VERSION=11 //also tried 17,18 brew reinstall jenv brew reinstall openjdk@${JAVA_VERSION} jenv add /usr/local/opt/openjdk@${JAVA_VERSION}/ jenv global ${JAVA_VERSION} And add this at end of your shell config scripts ~/.bashrc or ~/.zshrc export PATH="$HOME/.jenv/bin:$PATH" eval "$(jenv init -)" export JAVA_HOME="$HOME/.jenv/versions/jenv version-name"