Installation of Netbeans 9 on Windows 10

Apache Netbeans 9.0

Netbeans has released its new version 9. This time it is under the Apache Software foundation. Netbeans is one of the best script editing programmes for C++, PHP, Java, etc. In order for it to work on Windows 10, you would need to go through some extra steps, especially when installing fresh. Netbeans 9 can co-exist with previous Netbeans versions.

  1. Download the Netbeans 9 zip version here: At the time of writing there was not an executible version of Netbeans 9. So you would have to download the zip version (not the source version, unless you know what to do with it).
  2. Unzip the file with your favorite zip programme or just with the file explorer of Windows. Unzip the folder to any folder on your harddrive or in the Program Files folder.
  3. Download the Java SE development Kit from here: The standard edition will do. Install the kit.
  4. Go to the folder where you unzipped your netbeans installation and open the file in: <your netbeansfolder>/etc/netbeans.conf, and open it in your favorite text-editor. Notepad will do.
  5. Search for netbeans_jdkhome. There should be # before the line. Delete the #. This will enable the setting.
  6. Then change "/path/to/jdk" into the path where the Java SE development Kit was installed, this could be something like: "C:\Program Files\Java\jdk-11.0.1". Save the file netbeans.conf. If the file does not want to save because you don’t have the rights (this happens when you’ve unzipped Netbeans in Program Files) then save it first to the desktop and copy it later to <your netbeansfolder>/etc/. Make sure that you can see your file-extensions in Windows Explorer, and make sure the file has the extension .conf and not .txt.
  7. Go to /bin/netbeans64.exe and create a shortcut on your desktop or in the start menu.

In order for your PHP projects to work you would need to add the PHP plugin. This is not a Netbeans 9 plugin, but a plugin from 8.2. With the following steps you can add PHP and PHP 7.1 support to Netbeans.

  1. Open Netbeans 9 from your shortcut or from your start menu.
  2. Go to menu Tools -> Plugins.
  3. Go to the Settings tab of the new screen and click on add.
  4. Give the Update Center a name. For example Netbeans 8.2.
  5. Copy this url behind URL
  6. Go to tab Available Plugins and you will notice that new plugins have been added. Search for php and add all PHP category plugins.
  7. Search for Javascript and add all Javascript or Libraries Category.
  8. Click on Install and accept the next screens for it to install. This can take awhile depending on your internet connection. Restart Netbeans (this may take a while too, as it installs the plugins at startup and resets one more time).
  9. For PHP 7.1 support go to menu Tools -> Plugins.
  10. Go the Settings tab of the new screen and click on add.
  11. Give the Update Center a name. For example Netbeans 8.2 Dev.
  12. Copy this url behind URL
  13. Go to the Updates tab and click on Update. Go throug all the steps to update the different plugins.

You now have Netbeans 9.0 with support for PHP 7.1.

This guide has been tested on Windows 10 Pro version 1809, Netbeans 9.0 and Java SE Development Kit 11.0.1

Leave a Reply

Your email address will not be published. Required fields are marked *