Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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?

share|improve this question

2 Answers 2

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's JDK 6?

How do I install Oracle Java JDK 7?

How can I install Oracle Java JRE 7?


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 :

share|improve this answer
    
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 '11 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 at 10:03

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

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.