Basic Setup for Java on Mac and Windows
Basic Setup for Java on Mac It outlines the basic software tools required to build and manage your Java Projects on Mac. Make sure the user has admin privileges before you move to below sections. Homebrew Homebrew, an open source, simplifies the installation of several software on your mac. Learn more about brew on https://brew.sh/ ;no more using sudo command. Open a terminal and run the below command to install Homebrew. Please note that it might take upto 15 minutes to install Homebrew. $ /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install )" $ /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)" In the end, it will display the below messages: Java Now, you have installed homebrew, use the same terminal or open a new terminal, and use the below command to verify which version of java is already installed. $ brew cask info java The command will output the details of the...