Friday, July 22, 2011

How to install java and netbeans in ubuntu 11.04

Install the downloaded netbeans
sudo sh ./netbeans-7.0-ml-java-linux.sh
(Path for jdk will be usr/lib64/jvm )
if java is not installed use following commans in the terminal 

Install JRE
sudo add-apt-repository ppa:ferramroberto/java sudo apt-get update sudo apt-get install sun-java6-jre sun-java6-plugin

Install JDK
sudo apt-get install sun-java6-jdk

No comments:

Post a Comment