I have had a long history of not being able to run .sh files. I don't understand what the underlying problem is,(I'm a little bit new to Ubuntu/UNIX based systems). When I try to run certain .sh scripts I get the following error, accompanied by the Ubuntu Software Center starting up:
"The file "/home/user/Downloads/netbeans-8.1-cpp-linux-x86.sh" could not be opened."
As a clarification, I have been double clicking directly on the .sh file in the file system.