I have downloaded a .bin file for JDK and am trying to install it. I have used these commands:
chmod +x jdk-6u23-linux-i586.bin
sudo ./jdk-6u23-linux-i586.bin
and got this output:
sudo: ./jdk-6u23-linux-i586.bin: command not found
|
I have downloaded a .bin file for JDK and am trying to install it. I have used these commands:
and got this output:
| ||||
|
feedback
|
|
To install Netbeans, you can simply install the netbeans To install Java, but without installing Netbeans If you want the proprietary version of Java, you need to: To install these packages, use the Software Centre, which is available from the Applications menu. | |||||||||
feedback
|
|
Netbeans is available from the Ubuntu software Center, you should install from there unless you have a strong reason to use a different version. | |||
feedback
|
|
In future use these 2 scripts I wrote :D... Java before Netbeans...
Netbeans...
| |||
|
feedback
|
|
Thank you for your help, but I solved my own problem. When I installed Ubuntu and I installed OpenJDK. I was trying to install the Sun JDK, which led to the error. I resolved the problem by uninstalling OpenJDK, restarting the machine, and then extracting the file mentioned above. It was successfully extracted and NetBeans easily found the JDK path. Now I'm enjoying Java Development with NetBeans. | ||||
|
feedback
|
sudo -sdo the same thing. – Thorbjørn Ravn Andersen Nov 28 '11 at 12:29