How to Install Netbeans on a Linux

Download ArticleDownload Article

NetBeans is an IDE (Integrated Development Environment) application mainly used by developers to create applications using Java and other programming architectures like PHP and C++. NetBeans can be installed and run on three different operating systems: Windows, OS X, and Linux. To install the NetBeans application on a computer running on Linux requires a bit of time, but the process is straightforward.

Part 1
Part 1 of 2:

Installing the Java SE Development Kit

Download Article
  1. How.com.vn English: Step 1 Download the Java installer.
    NetBeans requires the latest version of the Java development kit (JDK) installed on your computer. You can download the latest JDK from this link:
  2. How.com.vn English: Step 2 Install the JDK.
    Open your Linux computer’s command terminal by pressing CTRL + ALT + T keys on your keyboard. Once the command terminal is up, type in the following command: “rpm -ivh filename.rpm”.
    • The “Filename” in the command refers to the name of the JDK installer file you downloaded.
    Advertisement
  3. How.com.vn English: Step 3 Wait for the process to complete.
    A message on the command terminal will notify you once the JDK has been installed.
  4. Advertisement
Part 2
Part 2 of 2:

Installing NetBeans

Download Article
  1. How.com.vn English: Step 1 Download NetBeans.
    Get the latest NetBeans IDE installer from this site: netbeans.org/features/index.html. Click the “Download” button and the browser will start downloading the installer file to your computer.
  2. How.com.vn English: Step 2 Run the NetBeans installer.
    Open your Linux computer’s command terminal by pressing CTRL + ALT + T keys on your keyboard. Once the command terminal is up, type in the following command: “chmod +x filename”.
    • The “filename” in the command refers to the name of the NetBeans installer file you downloaded.
    • The NetBeans setup window will then appear.
    • Note: If the installer doesn't appear, it may work if this is typed instead: /home/"username"/Downloads/"filename"
    • Insert your profile name instead of "username" and the NetBeans file instead of "filename".
  3. How.com.vn English: Step 3 Start the setup.
    Click “Next” on the Welcome page of the NetBeans setup to begin.
  4. How.com.vn English: Step 4 Agree to the License Agreement.
    The next page will show the licensing agreement for the NetBeans application. Read the agreement, put a checkmark on the Accept section and click “Next” to proceed.
  5. 5
    Install JUnit. If you’d like to install the JUnit package with NetBeans, agree with the license agreement and click “Next.” Otherwise, you can simply skip this step and not install the JUnit package.
  6. How.com.vn English: Step 6 Choose the installation directory.
    On the next window you’ll be asked where you want to install the NetBeans application. If you wish to set your own, click on “Browse” and navigate to the directory of your choice. If you’d like to use the default location (recommended), then just click on “Next” to continue.
  7. How.com.vn English: Step 7 Choose the default JDK to install.
    Next, you’ll be asked which JDK you want to install with NetBeans. If you’d like to install a specific JDK package, click the drop-down list and choose which one from the list you’d like to get. Otherwise, if you want to go with the recommended JDK package to install, just hit “Next” again to go to the next step.
  8. 8
    Install GlassFish Server Open Source Edition. If this step appears on your setup process, you can choose either to install it on a specific location on your computer by clicking “Browse” or accepting the default installation directory by clicking “Next”.
  9. 9
    Install Apache Tomcat. If this step appears on your setup process, you can choose either to install it on a specific location on your computer by clicking “Browse” or accepting the default installation directory by clicking “Next”.
  10. How.com.vn English: Step 10 View the summary.
    On the Summary page of the setup you’ll be able to check that all needed components to be installed are selected and if your computer has enough memory to accommodate the application. Click the “Install” button to begin once you’re done checking the summary page.
  11. How.com.vn English: Step 11 Finalize setup.
    Once the installation process is complete, click the “Finish” button and you’re done installing NetBeans on Linux.
  12. Advertisement

Community Q&A

Search
Add New Question
  • Question
    I'm getting an error report after the installation when I try to create a Java SE application. What can I do?
    How.com.vn English: Community Answer
    Community Answer
    Try reinstalling Netbeans again. If that does not work, scan for a virus. Viruses are a primary cause of this.
Ask a Question
200 characters left
Include your email address to get a message when this question is answered.
Submit
      Advertisement

      Video

      Tips

      • The installation process will change from time to time, depending on the version of the installer you’ll get.


      Submit a Tip
      All tip submissions are carefully reviewed before being published
      Thanks for submitting a tip for review!
      Advertisement

      About This Article

      How.com.vn is a “wiki,” similar to Wikipedia, which means that many of our articles are co-written by multiple authors. To create this article, volunteer authors worked to edit and improve it over time. This article has been viewed 98,897 times.
      How helpful is this?
      Co-authors: 8
      Updated: April 11, 2021
      Views: 98,897
      Categories: Software | Linux
      Thanks to all authors for creating a page that has been read 98,897 times.

      Is this article up to date?

      ⚠️ Disclaimer:

      Content from Wiki How English language website. Text is available under the Creative Commons Attribution-Share Alike License; additional terms may apply.
      Wiki How does not encourage the violation of any laws, and cannot be responsible for any violations of such laws, should you link to this domain, or use, reproduce, or republish the information contained herein.

      Notices:
      • - A few of these subjects are frequently censored by educational, governmental, corporate, parental and other filtering schemes.
      • - Some articles may contain names, images, artworks or descriptions of events that some cultures restrict access to
      • - Please note: Wiki How does not give you opinion about the law, or advice about medical. If you need specific advice (for example, medical, legal, financial or risk management), please seek a professional who is licensed or knowledgeable in that area.
      • - Readers should not judge the importance of topics based on their coverage on Wiki How, nor think a topic is important just because it is the subject of a Wiki article.

      Advertisement