How To Install NetBeans On Mac?

515 Views
0 rating based on 0 reviews

Are you tired of using the basic built-in editor of your Mac? Maybe your development team is using the NetBeans IDE and you are behind. Maybe you just want to try something better. Whatever the case is, you can install NetBeans on Mac. Let me show you how.

Install NetBeans on Mac

NetBeans is an open-source Integrated Development Environment (IDE) written in Java. NetBeans began its journey as a student project in 1996 at Charles University in Prague. In 1999, Sun Microsystems acquired NetBeans and in 2010 Oracle acquired Sun, also NetBeans.

Using an IDE is very handful. It allows you to access all of the tools easily and you don’t have to organize things manually. NetBeans provides seamless support for Java ME mobility pack, Java AWT/Swing, Java EE and it is bundled with an outstanding profiler for performance tuning.

Installing NetBeans on Mac might feel tricky but do not worry. Today, I’ll show you the easiest steps to install NetBeans on Mac and help you to use it.

Installing NetBeans on Mac

Before going through any installation process, you need to make sure you have installed Java Development Kit (JDK) on your Mac. (If you haven’t installed JDK on your Mac, follow my instructions later in this article to learn how to install JDK on Mac).

Follow the steps below to install NetBeans on your Mac:

  1. Download NetBeans from https://netbeans.apache.org/download/index.html.
  2. Tap “Download” for the latest LTS version of NetBeans. (You might see a different NetBeans version than mine as the software gets updated from time to time. You just have to follow the steps to install any version of NetBeans).
    NetBeans download window
  3. You’ll see many bundles available for downloading. You have to tap on the dmg file (e.g., “Apache-NetBeans-12.0-bin-macosx.dmg (SHA-512, PGP ASC”).
  4. Now, click on the mirror website link provided for downloading NetBeans.
    Download link window for NetBeans
  5. The browser will start the download.
  6. Click on the downloaded file which should be named “Apache NetBeans 12.0.pkg”.
    Apache NetBeans
  7. Now, from the installation tab, tap on “Continue” to initiate the installation process.
    NetBeans installation tab
  8. Continue with the license agreement, select your installation location and provide your Mac OS password.
  9. Click on “Install Software” and close the tab after the successful installation.
    click Install Software
  10. Go to the “Launchpad” icon on your Mac and you should see the “Apache NetBeans 12.0” logo.
    Launchpad window on Mac

Installing JDK on Mac

If you haven’t installed Java on your Mac, you need to install it first  according to use NetBeans. Follow the steps below to install JDK on your Mac:

  1. Go to https://www.oracle.com/java/technologies/javase-downloads.html to download the latest JDK installation file. Right now, the latest version is Java SE 16, you might see a different version over time. But the installation process will be the same for other versions as well.
    Java SE Downloads
  2. Click on JDK download.
  3. Scroll down a little and you’ll see different packages for different operating systems. Click on the download link for “macOS Installer”.
    macOS Installer
  4. Check the “Checkbox” and click on the green download option. Your browser should start downloading the file.
    click Download jdk
  5. Click the downloaded package. Click “Continue”, then select your installation destination and provide your Mac OS password. Click the “Install Software” option and close the installation tab after the installation.
    Downloaded package

Checking Java Version on Mac

Using terminal to check the Java version is the easiest way. Do the followings to know your Java version on Mac:

  1. At the top-right of your screen, click on the “Spotlight Search” button.
    Spotlight Search
  2. Type “terminal” in the bar and open the application by clicking on the icon.
    Open Terminal
  3. Run the command: java –version in the terminal and the output should display the java version installed on your Mac.

Summary: Install NetBeans on Mac

  • Download the latest version of NetBeans IDE with JDK 8 included.
  • Double-click on the installer file.
  • Select the option to customize your installation, and then select the features to install.
  • Click on Install.