Ever since I upgraded my Ubuntu from 9.10 to 10.04 I can't start Netbeans any more, because apparently they are dropping support for Java's JDK in favor of OpenJDK. Well, problem is, my IDEs won't work with OpenJDK.
apt-get install sun-java6-jdk
is not working. I downloaded the Linux installation file from Sun (jdk-6u21-linux-i586.bin) and installed it, but I can't call java or javac from the terminal.
Can anyone help me here?
Here is how you would install it.
$ sudo add-apt-repository "deb http://archive.canonical.com/ lucid partner"
$ sudo apt-get update
$ sudo apt-get install sun-java6
Good luck.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With