Just some notes on how I updated to the recent releases of Java 8 and NetBeans 8 on Ubuntu 13.10 (64 bit) running the Xfce desktop environment (Xubuntu).
As described here The gist is to install from a PPA, not the Oracle downloads. At a Linux command prompt, run and complete the following commands (output is elided):
When complete, verify correct installation with the command
On my system, the output was:
Note that this also updates the java alternatives. On my system
sudo update-java-alternatives -l produces the following output:
You can also set the Java environment variables to default to Java 8 versions with
sudo apt-get install oracle-java8-set-default.
Download and install from the Oracle download page, then follow the installation instructions.To create a desktop icon (and include NetBeans in your Applications Menu) add a desktop file as described here. This works for Xubuntu as well as the Unity desktop. The contents of my desktop file are:
That’s it. Seems to work Ok for me.