Java SC Package Installation Guide (MacOS)


Download Links


Note: 

  • If the version number installed in your device is lower than the version provided in the screenshots, follow the steps below to install the updated version of the applications.
  • If an updated version of the above provided applications are already installed in your device, the following instructions will still work with minor differences in the version of the app you’re shown in the output which should have no impact during the course of the bootcamp.

Allow Apps from the App Store and Identified Developers

Reference: https://support.apple.com/en-us/HT202491

To allow installation from the App Store and Identified Developers on your Mac, choose Apple Menu > System Settings, click Privacy & Security, then scroll down to the Security. Select App Store and identified developers under the header “Allow apps downloaded from.”


Homebrew

Click the Spotlight Search located at the top-right of your screen (the magnifying glass icon at the right side of the current time) then search and open a program named Terminal.

Inside the Terminal program, copy-paste the code below then press Enter.

/bin/bash -c “$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)”
The terminal should now look like this:

Press Enter and type your password to continue then wait for the install process to finish.

The executed command will install utility tools (specifically for MacOS devices) that will be used in the bootcamp.

Sample screenshots of the outputs in the Terminal while the command is running.

To verify that the installation process is successful, type the following in the Terminal:

brew -v

It should output the following:

Git was also installed along the way. To confirm, type git –version and the output should be like this:

If the version number is higher than in the screenshot, it means that it is more updated.

After verifying the success of the install process, keep the Terminal in the dock by right-clicking the program in the dock and choosing the Keep in Dock option.


Google Chrome

Open a web browser (initially Safari) and go to https://google.com/chrome. On the page, click the Download Chrome button.

Note: If you have an iMac or Macbook with the Apple Silicon (M1 or later) chip, click the Mac with Apple chip button. Otherwise, click the Mac with Intel chip button.

After downloading, open the DMG file.

After opening the DMG file, drag the Google Chrome icon to your Applications.

After that, wait for the transfer to finish.

Click the Spotlight Search located at the top-right of your screen (the magnifying glass icon at the right side of the current time) then search and open Google Chrome.

Google Chrome should open normally.

Keep the Google Chrome in the dock by right-clicking the program in the dock and choosing the Keep in Dock option.


Java Open JDK 11

Get the download at https://jdk.java.net/archive/.

The default location used by MacOS to search for the available JDK is – /Library/Java/JavaVirtualMachines. We can use the below-mentioned command to find the available JDKs installed on the system.

/usr/libexec/java_home -V

It will list down the available JDKs as shown below.

Using the terminal, go to Downloads by issuing the command cd Downloads.

Extract the downloaded file by issuing the command tar -xf openjdk-11_osx-x64_bin.tar.gz.

Install the extracted OpenJDK by issuing the command sudo mv jdk-11.jdk /Library/Java/JavaVirtualMachines/. Enter your device’s password when prompted.

Verify the installation by issuing the command java -version.

Switch JDK. If you have multiple JDKs installed, we can switch between the multiple JDKs using the command as shown below.

export JAVA_HOME=`/usr/libexec/java_home -v jdk-11.jdk`


IntelliJ

Go to the official download page for MacOS and download the executable file for the community edition.

Run the file, drag and drop the IntelliJ icon in the applications folder and wait for the installation to finish.

After installation, open intelliJ and if it opens successfully then it has been installed properly. You may also keep the IntelliJ in the dock by right-clicking the program and choosing the Keep in Dock option.


XAMPP

Go to the official download page. Download the version 8.0.28 installer. If the specified version is unavailable, you may choose an installer at least version 8 or higher indicated by the first number provided in the installer.

Execute the downloaded installer and double-click the XAMPP icon.

Click on the Next button on the window shown below and all succeeding windows and wait for the installation to finish.

Leave the Launch XAMPP option checked and click the Finish button

The XAMPP application should open. Go to the Manage Servers tab. Try to start the MySQL Database and Apache Web Server. It should start normally.

Open Google Chrome and go to http://localhost/phpmyadmin/ to confirm that the phpMyAdmin web program works properly.


If you’ve stumbled upon this blog post and aren’t a bootcamper, you can begin your bootcamp journey with Zuitt by clicking this link: