well.. this is for my reference. It doesn’t hurt to have everything on my blog for my quick reference.
For those of you who happened to stumble upon this… can give some comments..
sudo su root
password:
apt-get install sun-java6-jdk sun-java6-jre
jdk and jre will be installed in the following path
/usr/lib/jvm/java-6-sun-1.6.0.06
Can export the environment variable JAVA_HOME to
export JAVA_HOME=”/usr/lib/jvm/java-6-sun-1.6.0.06;”
add to PATH
PATH=$PATH:/usr/lib/jvm/java-6-sun-1.6.0.06
You might even consider adding this path in /etc/profile or .bashrc
Netbeans:
Download netbeans file from this link
http://netbeans.org/downloads/index.html
You will have to save this file [179Mb]
netbeans-6.8-ml-java-linux.sh
Your JDK , JRE are in place.
All you need to do is run this shell script
chmod 755 netbeans-6.8-ml-java-linux.sh
./netbeans-6.8-ml-java-linux
It might need some 433 Mb to install. Keep some space for the same.
remember to check tomcat server while installing.
If you need C/C++ plugin, Open Netbeans, Tools->Plugins
In search box, type “C++”.
Click on the install button.
There you go you are all set!