Search This Blog

Wednesday, November 30, 2011

How to Install Java in Linux

1. Use following command to know the current jdk version available in apt-get
sudo apt-cache search jdk

2. Use following command to install JDK and JRE
apt-get install sun-java6-jdk sun-java6-jre

2 comments: