![]() zshrc file export JAVA_8_HOME=$(/usr/libexec/java_home -v1. If you have an M1 or M2 Mac, choose the Arm 64 installer. Select the macOS tab and download the DMG installer for your processor architecture. Follow the steps below to download and install it on Mac. Install Java 11 with Homebrew Tap $ brew install -cask adoptopenjdk11 Export and add aliasĪdd these command in. Option 1: Install Oracle JDK Oracle JDK is available for download on Oracles website. ![]() Install Java 8 with Homebrew Tap $ brew install -cask adoptopenjdk8 I added tabname as AdoptOpenJDK/openjdk $ brew tap AdoptOpenJDK/openjdk Install AdoptOpenJDK with Homebrew TAP $ brew install -cask So I added and it was resolved $ export PATH=/opt/homebrew/bin:$PATH Add Homebrew TAP $ brew tap I had an issue with macOS Big Sur (11.2.3) zsh: command not found: brew Installing Java 8 & Java 11 on macOS BigSur with Homebrew Install Homebrew $ /bin/bash -c "$(curl -fsSL )"
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |