3

i downloaded Netbeans 7.0.1 from netbeans.com for Linux, but i couldn't open it, i tried many applications but it didn't work, why?
it says it's not supported and some times it gives me errors,
netbeans downloaded file look like this:
netbeans-7.0.1-ml-php-linux.sh
how i'm supposed to open and install it on my Linux machine?

2 Answers 2

6

NOTE: *JDK * is required for installing and running the Java SE, Java EE and All NetBeans Bundles.

How do I install Java?

How do I install Oracle JDK 6?

How do I install Oracle Java JDK 7?

How can I install Sun/Oracle's proprietary Java JDK 6/7/8 or JRE?


Install Netbeans

  1. Go to Netbeans download page and download the netbeans Linux (x86/x64) .sh installer file (like netbeans-7.0.1-ml-linux.sh).

  2. Copy your Netbeans installer file to your Desktop.

  3. Open Terminal.To open terminal click the Dash home from unity launcher.And type terminal in the search field.And click Terminal.

  4. Type the below code in terminal and hit enter. cd Desktop

  5. Then type below code in terminal and hit enter sudo chmod +x netbeans-* Type your ubuntu password if needed and press enter.

  6. Then type below code and press enter sudo ./netbeans-*

  7. And then install Netbeans from GUI installer window. After the successful installation,click the Dash home from unity launcher.And type netbeans in the search field.And click Netbeans IDE 7.0.1 to open.


Related question :

2
  • You do NOT need to be super user to install Netbeans 7 (no need for sudo neither in 5 nor in 6), just change the destination folder to one you have write access during installation.
    – Vadim
    Dec 14, 2011 at 13:01
  • So how to update it to 7.4 or upper? I have to use proxy for updating it. Is there other PPAs for it?
    – shgnInc
    Jan 5, 2014 at 10:03
2

Just as a suggestion.. You dont need to add a repository to install JDK, netbeans works flawlessly with openjdk, which is always on the default repositories on Ubuntu.

just issue con a terminal:

sudo apt-get install openjdk-6-jdk

and then install netbeans as hhlp said.

Here is a full how-to: Netbeans 7.0.1 installed but won't run

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .