0

I have downloaded netbeans-8.0.1-javaee-linux.sh.

I have run sudo chmod +x to make it executable But how do I install it?

It I try double-clicking it wants to open with gedit If I "Open With" --> Ubuntu Software Centre, it says The file “/home/mike/Downloads/netbeans-8.0.1-javaee-linux.sh” could not be opened.

How do I install it? Thanks.

  • java version "1.7.0_65" OpenJDK Runtime Environment (IcedTea 2.5.2) (7u65-2.5.2-3~14.04) OpenJDK 64-Bit Server VM (build 24.65-b04, mixed mode) – stroudmw Oct 11 '14 at 8:44
3

Open a terminal (use Ctrl+Alt+T), change to the directory containing the downloaded shell script, and run as super user:

$ sudo ./netbeans-8.0.1-javaee-linux.sh

You'll be prompted for your password and the NetBeans install wizard will start.

| improve this answer | |
1

Press Ctrl+Alt+T on your keyboard to open the terminal. When it opens, run the command below to make the installer executable.

chmod +x netbeans-8.0.1-javaee-linux.sh.

Run as super user:

Start the installer:

./netbeans-8.0.1-javaee-linux.sh

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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