Ubuntu – Error while installing netbeans

netbeanssoftware installation

I tried to install NetBeans 7.2 from a downloaded .sh file, but experienced problems. Here's text from the Terminal, which shows what I did and what happened:

hridesh@ubuntu:~$ cd Desktop/
hridesh@ubuntu:~/Desktop$ cd full\ netbeans\ 7.2\ for\ linux\ in\ .sh\ format/
hridesh@ubuntu:~/Desktop/full netbeans 7.2 for linux in .sh format$ chmod +x netbeans-7.1.2-ml-linux.sh
hridesh@ubuntu:~/Desktop/full netbeans 7.2 for linux in .sh format$ ./netbeans-7.1.2-ml-linux.sh
Configuring the installer...
Searching for JVM on the system...
Extracting installation data...
Installer file /home/hridesh/Desktop/full seems to be corrupted

Why does the message Installer file /home/hridesh/Desktop/full seems to be corrupted appear? Is this file actually corrupted or something else going wrong?

Best Answer

  • The setup showed this error

    Installer file /home/hridesh/Desktop/full seems to be corrupted
    

    Since the full path being used is "home/hridesh/Desktop/full netbeans 7.2 for linux in .sh format" it would seem that the installer is having problem with such a complex folder name.

    Renaming the folder "full netbeans 7.2 for linux in .sh format" to something simple like "netbeans_installer" should solve the problem the installer is reporting.

    cd Desktop
    mv full\ netbeans\ 7.2\ for\ linux\ in\ .sh\ format netbeans_installer
    cd netbeans_installer
    ./netbeans-7.1.2-ml-linux.sh
    
  • Related Question