Subscribe

RSS Feed (xml)

Powered By

Skin Design:
Free Blogger Skins

Powered by Blogger

Wednesday, February 16, 2011

JDK, Ant and Tomcat6 installation in ubuntu

Hi,

Before a new installation is to be done, I prefer to un install the previous versions.

Open your Terminal(alt + shift + T) and do the following

first remove any previous versions of java using the

"sudo apt-get remove sun-java6-" command.

Than to install a new version of java,

type in

"sudo apt-get install sun-java6-jdk"

Type Y if prompted for Do u want to continue..

This is the preferred jdk to work on.

java Plugins can be added using the "sudo apt-get install sun-java6-plugin " command


If we need to install ant, just enter "sudo apt-get install ant"

Type Y if prompted for Do u want to continue..


To Install tomcat6,

the command to be used is "sudo apt-get install tomcat6"


Cheers :D

No comments: