07/03/2018

Netbeans IDE

Installation

source : https://computingforgeeks.com/install-netbeans-ide-on-debian-ubuntu-and-linux-mint/

  1. Install java

To install the default Java that ships with your distribution, run:

sudo apt install -y default-jdk
  1. Download NetBeans Binary
sudo apt -y install wget unzip

wget https://www-us.apache.org/dist/incubator/netbeans/incubating-netbeans/incubating-11.0/incubating-netbeans-11.0-bin.zip

  1. Unzip Downloaded file
unzip incubating-netbeans-11.0-bin.zip
  1. Move netbeans folder to /opt
sudo mv netbeans/ /opt/
  1. Create netbeans command

export PATH="$PATH:/opt/netbeans/bin/"

Ajouter à la fin du bashrc

vim  ~/.bashrc
  1. Create Netbeans Desktop Launcher

Create new file on /usr/share/applications/netbeans.desktop

sudo vim /usr/share/applications/netbeans.desktop
[Desktop Entry]
Name=Netbeans IDE
Comment=Netbeans IDE
Type=Application
Encoding=UTF-8
Exec=/opt/netbeans/bin/netbeans
Icon=/opt/netbeans/nb/netbeans.png
Categories=GNOME;Application;Development;
Terminal=false
StartupNotify=true

Darcula theme for netbeans

  1. Telecharger le theme sur ce lien http://plugins.netbeans.org/plugin/62424/darcula-laf-for-netbeans

C’est un fichier .nbm

  1. Installer le theme sur netbeans

Tools > plugins > Downloaded > Add Plugins

Gitignore

nbproject/private/
build/
nbbuild/
dist/
nbdist/
nbactions.xml
nb-configuration.xml

# Class Files #
*.class

# Package Files #
*.jar
*.war
*.ear