Skip to main content
It's JAVAC, not JAVA! That's not a typo.
Source Link
Daniel Danielecki
  • 10.9k
  • 7
  • 89
  • 111

As of 2023, brew install --cask zulu8 didn't work for me on Apple chip. brew install openjdk@8 also didn't not. The only one solution worked for me was brew install --cask adoptopenjdk8 and then of course vim ~/.zshrc with export JAVA_HOME=JAVAC_HOME=/Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home/ inside that file.

As of 2023, brew install --cask zulu8 didn't work for me on Apple chip. brew install openjdk@8 also didn't not. The only one solution worked for me was brew install --cask adoptopenjdk8 and then of course vim ~/.zshrc with export JAVA_HOME=/Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home/ inside that file.

As of 2023, brew install --cask zulu8 didn't work for me on Apple chip. brew install openjdk@8 also didn't not. The only one solution worked for me was brew install --cask adoptopenjdk8 and then of course vim ~/.zshrc with export JAVAC_HOME=/Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home/ inside that file.

fix typos
Source Link
zforgo
  • 3.4k
  • 2
  • 17
  • 30

As of 2023, brew install --cask zulu8 didn't work for me on Apple chip. brew install openjdk@8 also didn't not. The only one solution worked for me was brew install --cask adoptopenjdk8 and then of course vim ~/.zshrc with export JAVA_HOME=/Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home/ inside that file.

EDIT: fix typo in JAVA_HOME.

As of 2023, brew install --cask zulu8 didn't work for me on Apple chip. brew install openjdk@8 also didn't not. The only one solution worked for me was brew install --cask adoptopenjdk8 and then of course vim ~/.zshrc with export JAVA_HOME=/Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home/ inside that file.

EDIT: fix typo in JAVA_HOME.

As of 2023, brew install --cask zulu8 didn't work for me on Apple chip. brew install openjdk@8 also didn't not. The only one solution worked for me was brew install --cask adoptopenjdk8 and then of course vim ~/.zshrc with export JAVA_HOME=/Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home/ inside that file.

As of 2023, brew install --cask zulu8 didn't work for me on Apple chip. brew install openjdk@8 also didn't not. The only one solution worked for me was brew install --cask adoptopenjdk8 and then of course vim ~/.zshrc with export JAVAC_HOME=JAVA_HOME=/Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home/ inside that file.

EDIT: fix typo in JAVA_HOME.

As of 2023, brew install --cask zulu8 didn't work for me on Apple chip. brew install openjdk@8 also didn't not. The only one solution worked for me was brew install --cask adoptopenjdk8 and then of course vim ~/.zshrc with export JAVAC_HOME=/Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home/ inside that file.

As of 2023, brew install --cask zulu8 didn't work for me on Apple chip. brew install openjdk@8 also didn't not. The only one solution worked for me was brew install --cask adoptopenjdk8 and then of course vim ~/.zshrc with export JAVA_HOME=/Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home/ inside that file.

EDIT: fix typo in JAVA_HOME.

Source Link
Daniel Danielecki
  • 10.9k
  • 7
  • 89
  • 111
Loading