
This post includes instructions to download Apache NetBeans source code and install to a Linux machine. The instructions are tailored for a Raspberry Pi.
The advantage of using a Pi is that Apache NetBeans works well in resource constrained environments. This makes it ideal for usage on that device.
Download Sources
We suggest this location for your download.
Do These Steps
1. Prereqs / Get it
sudo apt-get install ant java
wget https://dlcdn.apache.org/netbeans/netbeans/24/netbeans-24-source.zip .
2. Build / Install it
unzip ./netbeans-24-source.zip -d /tmp/netbeans
ant -Dcluster.config=basic build
mkdir ~/Tools
cp -r nbbuild/netbeans ~/Tools
3. Run it
cd ~/Tools/netbeans/bin
./netbeans
4. Launch it
sudo vi /usr/share/applications/netbeans.desktop
# Paste info:
[Desktop Entry]
Type=Application
Name=Netbeans
Comment=Java IDE
Icon=/home/user/Tools/netbeans/nb/netbeans.png
Exec=/home/user/Tools/netbeans/bin/netbeans
false=Terminal
Categories=Application;Development;
Where /home/user is the location of user’s home folder on the platform. Launcher will be under the “Programming” menu item.
Comments