From XennisWiki
Jump to: navigation, search

NetBeans is a software development platform written in Java. [...] The NetBeans IDE is primarily intended for development in Java, but also supports other languages, in particular PHP, C/C++ and HTML5. NetBeans is cross-platform and runs on Microsoft Windows, Mac OS X, Linux, Solaris and other platforms supporting a compatible JVM. (Wikipedia)



Download NetBeans from the official website.

Arch Linux

pacman -S netbeans


add-apt-repository ppa:vajdics/netbeans-installer
apt-get update
apt-get install netbeans-installer

Errors and problems

Windows Firewall und FTP

Ausführliche Hilfe: Oracle - Bug database


An error occured!

Because NetBeans is running on Windows and JDK 7, you might be facing a problem with FTP operations. Ensure that Windows built-in firewall does not block JDK 7 binaries.


  • Öffne die Windowskonsole als Administrator und tippe folgendes ein, damit FTP nicht mehr von der Windows Firewall geblockt wird
netsh advfirewall set global StatefulFtp disable

SFTP authenticity can't be established

Ausführliche Hilfe: So verschwindet in Netbeans die Meldung "Authenticity of host ..."


The authenticity of host '[...]' can't be established.
RSA key fingerprint is [...].
Are you sure you want to continue connecting?


  • Erstelle in dem NetBeansProjects Ordner (liegt unter Dokumente) die Datei known_hosts.txt
  • Rechtsklick aufs Projekt > Eigenschaften > Run Configuration > Remote Connection > Manage
  • Unter Known Hosts File > Browse > die zuvor erstellte Datei auswählen

PHP interpreter

Linux - Set up a PHP interpreter
apt-get install php5-cli
  • Tools > Options > PHP > General
  • Use the Search button (or manually browse /usr/bin/php5 as PHP 5 Interpreter)
Windows - Set up a PHP interpreter
  • Install for instance XAMPP (other options can be found in the article How to Install PHP on Windows)
  • Open NetBeans and go to Tools > Options > PHP > General
  • Enter C:\xamppp\php\php.exe as PHP 5 Interpreter

Add PHP composer (Windows)

  • Install Composer
  • Open NetBeans and goto Tools > Options > PHP > Framework & Tools > Composer
  • Under Composer set the path C:\ProgramData\ComposerSetup\bin\composer.phar

Can't add PHP in NetBeans9

see How to add the missing plugins

See also

External links