Netbeans 7.0 on Ubuntu Installation – OpenJDK problem
Installation
The installation process is simple:
- Download the version you want to install from here.
- Navigate to the folder were the
.sh
file was downloaded. - Give executable permissions to the
.sh
file. - Execute the installer (
.sh
) file either pretendingsudo
command (in order to install it in the default/usr/local/netbeans-7.0
location) or without (in order to install it in the/home/Username/netbeans-7.0/
location) - Use the Graphical Installer to do the installation.
For example:
[~] $ cd ~/Desktop/ # Step 2 [~/Desktop] $ ls -l netbeans-7.0-ml-cpp-linux.sh -rw-r--r-- 1 *** *** 45967360 2011-05-03 09:21 netbeans-7.0-ml-cpp-linux.sh [~/Desktop] $ chmod +x netbeans-7.0-ml-cpp-linux.sh # Step 3 [~/Desktop] $ ls -l netbeans-7.0-ml-cpp-linux.sh -rwxr-xr-x 1 *** *** 45967360 2011-05-03 09:21 netbeans-7.0-ml-cpp-linux.sh [~/Desktop] $ sudo ./netbeans-7.0-ml-cpp-linux.sh # Step 4 Configuring the installer... Searching for JVM on the system... Extracting installation data... Running the installer wizard... |
OpenJDK Problem
The problem with OpenJDK
Configuring the installer... Searching for JVM on the system... Extracting installation data... Running the installer wizard... null |
while installing Netbeans 6.9.1 on Ubuntu is the same for Netbeans 7. Netbeans needs Sun JDK to work, otherwise even the installation wizard (GUI) does not appear.
Read more details about the problem and how to solve it in the post about Netbeans 6.9.1.