Do you want to know how to Install Apache NetBeans (incubating) 9.0 on Ubuntu, Linux Mint and most Linux Distros?
This video will show you how to Install Apache NetBeans (incubating) 9.0 and also how to add the Plugins from NetBeans 8.2.
You may also be interested in learning more about NetBeans with these very useful & informative books from Amazon: https://amzn.to/2D8nyOh
**Bonus: Included in the video – Create a Start Menu Link in Linux Mint for Apache NetBeans (incubating) 9.0.**
Advertisement
The steps to install Apache NetBeans (Incubating) 9.0
- Update your repositories:
sudo apt-get update && sudo apt-get upgrade
- Check if you have java installed:
which java
If java is installed then check the version:
java -version
IMPORTANT: If java JDK8 is not installed, install JDK8 (NetBeans installation is much, much easier with JDK8):
sudo apt-get install openjdk-8-jdk
(you may need to restart Linux afterwards)
or Download from:http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html
and unzip to ~/netbeans/jdk8 - Download “Apache NetBeans (incubating) 9.0” from
https://netbeans.apache.org/download/index.html
- click on “Binaries incubating-netbeans-java-9.0-bin.zip ( PGP ASC, SHA-1)”
- click on the recommended Mirror
- Check the Hash (details on the https://netbeans.apache.org/download/index.html page)
- Unzip the download by double clicking on it. The Unzip location should be your Home directory as it’ll create a netbeans directory.
- Open the NetBeans directory and navigate to the bin folder (~/netbeans/bin)
- Double click on netbeans (NOT the exe files).
If you have a problem with NetBeans not starting:
- Edit the file:
./netbeans/etc/netbeans.conf
- Come down to near the bottom of the file and look for the line:
#netbeans_jdkhome="/path/to/jdk"
- Remove the leading #
- Enter the path to the JDK8. Examples (change to suit your environment):
netbeans_jdkhome="/home/$USER/netbeans/jdk8"
ORnetbeans_jdkhome="/usr/lib/jvm/java-8-openjdk-amd64"
- Save the file
- Stop and restart Netbeans if necessary.
- Edit the file:
- Wait for the licence agreement and click on “I Accept”
- Wait! On first run it’ll want to index the dictionaries and do other “housekeeping” tasks (patience is a virtue, honest 🙂 )
- Install the nb-javac by clicking on the button “install nb-javac” button. Accept the defaults in the NetBeans IDE Plugin Installer. Restart the IDE
- On Usage Statistics select either “I Agree” or “No, Thank You”. As Apache are currently developing Netbeans, I would recommend you click on “I agree” but, it is YOUR choice.
- NetBeans is now up and running
- Close NetBeans if it is open
- Right click on the Menu and click on “Configure”
- Click on “Menu” (at the top)
- Click on “Open the menu editor”
- In the left pane, click on “Programming”
- Click on the “New Item” button
- In the Launcher Properties Dialog enter (note: you can replace $USER with your Username):
- Name :
Apache NetBeans (incubating) 9.0
- Command :
/bin/sh "/home/$USER/netbeans/bin/netbeans"
- Comment :
The Smarter Way to Code
- Icon :
/home/$USER/netbeans/nb/netbeans.png
- Leave “Run in Terminal” unchecked
- Click on “OK”
- Name :
- Close the Menu Editor
To add NetBeans to the menu in Linux Mint 19
That’s it! You should be up and running…
Advertisement
Having installed NetBeans, you may want to add the various plugins which are currently missing from NetBeans 9.0
Commands & Links:
NetBeans IDE 8.2 Plugin Centre:
http://updates.netbeans.org/netbeans/updates/8.2/uc/final/distribution/catalog.xml.gz
List of Plugins Gist: https://gist.github.com/JQL/2a3c91ab4996483f7f4ca1ad0ead8dd2
NetBeans Transition from Oracle: https://cwiki.apache.org/confluence/display/NETBEANS/Apache+Transition
You may also be interested in learning more about NetBeans with these very useful & informative books from Amazon: https://amzn.to/2D8nyOh
Advertisement