Setting Up Netbeans at Home

Install Netbeans and JDK

  1. Download the netbeans installer from Downloading Apache NetBeans 12.2

  2. Download the latest JDK 11 MSI from Azul systems at Java Download | Java 8, Java 11, Java 13 - Linux, Windows & macOS (azul.com)
    You can use any OpenJDK you like but we feel this is the easiest

  3. Open your downloads folder and launch the Zulu msi

    1. Click Next


    2. Click on the "Set JAVA_HOME variable" and have it install like in the below screenshot. No selection should have a red X on this screen.Click NExt
    3. Click Install. If a prompt for Yes/No pops up, click Yes
         
    4. Click Finish
    5. In the downloads folder run the Netbeans installer
    6. If it prompts, click Yes
    7. You can install with the defaults like below.
      If you'd like to save space you can click "Customize..." and remove PHP and HTML 5/ Javascript
    8. Read and accept the agreement
    9. It will install into program files and should automatically pick up our Zulu java
    10. Click Install
    11. Wait for it to install, this should take between 2 and 15 minutes depending on your machine.
      Clickl Finish


    12. Netbeans will be launchable from the start menu now

Launch Netbeans and setup JavaFX

 We will launch Netbeans and check it's setup by creating a demo JavaFX project

  1. Launch NetBeans from the start menu above
  2. Once it has opened under the file menu select "New PRoject"
  3. Browse to "JavaFX" folder under the "Java with Ant" folder, select the "JavaFX FXML Application" and click Next


  4. On this page click the "Download and Activate" button to download the JavaFX support
  5. Click "Next"
  6. Read the agreement, then check the "I accept" box and click install
  7. Leave it at Restart IDE Now and click the Finish button
  8. Netbeans will close and reopen
  9. It may ask if you want to share usage data, you can select either choice
  10. Again go to File in the top left and select New Project
  11. This time select the JavaFX under Maven - The Ant one doesn't like our newer JDK
    e

  12. This time just click the "Activate" button if it prompts. It will activate the plugin and show the name page.

  13. Click the Finish button

  14. Wait for the progress bar at the bottom to finish. The bottom area should be tan/gray like the below screenshot
  15. Click the "Run" button in the toolbar
  16. The program like below should open
  17. Close the program. Your netbeans is now setup, you can close it if you'd like.