Could not find package -apt-get install java_ee_sdk_6u1-jdk-linux.sh Error 
I use Ubuntu, tried to install Netbeans, Netbeans asked for JAVA_HOME, I had to download the latest jdk, tried to install jdk use Command: sudo apt-get install java_ee_sdk_6u1_jdk_linux.sh in the exact same folder where the sh file is. 

It kept giving the E: Couldn't find package.

I tried various ways, put full path name before the file, still the same error.

Anybody please shed some lights? Thanks
Could not find package -apt-get install java_ee_sdk_6u1-jdk-linux.sh Error 
===

I use Ubuntu, tried to install Netbeans, Netbeans asked for JAVA_HOME, I had to download the latest jdk, tried to install jdk use Command: sudo apt-get install java_ee_sdk_6u1_jdk_linux.sh in the exact same folder where the sh file is. 

It kept giving the E: Couldn't find package.

I tried various ways, put full path name before the file, still the same error.

Anybody please shed some lights? Thanks