faizan_comsian
July 21st, 2009, 12:45 PM
HI
i got following information from the same forum....to install jdk before tomcat
sudo apt-get install sun-java6-jdk
after that to check is it working properly
dpkg –get-selections | grep sun-java
it must show this output:
sun-java6-bin install
sun-java6-jdk install
sun-java6-jre install
BUT MY PROBLEM IS:
he is showing this output :
dpkg: need an action option
Type dpkg --help for help about installing and deinstalling packages
;
Use `dselect' or `aptitude' for user-friendly package management;
Type dpkg -Dhelp for a list of dpkg debug flag values;
Type dpkg --force-help for a list of forcing options;
Type dpkg-deb --help for help about manipulating *.deb files;
Type dpkg --license for copyright license and lack of warranty (GNU GPL)
.
Options marked
produce a lot of output - pipe it through `less' or `more' !
PLEASE HELP ME OUT
More Information:
I am new in ubuntu field i dont know what that output means,and i had already installed jdk6 from add/remove. and then i installed it again according to above info
i got following information from the same forum....to install jdk before tomcat
sudo apt-get install sun-java6-jdk
after that to check is it working properly
dpkg –get-selections | grep sun-java
it must show this output:
sun-java6-bin install
sun-java6-jdk install
sun-java6-jre install
BUT MY PROBLEM IS:
he is showing this output :
dpkg: need an action option
Type dpkg --help for help about installing and deinstalling packages
;
Use `dselect' or `aptitude' for user-friendly package management;
Type dpkg -Dhelp for a list of dpkg debug flag values;
Type dpkg --force-help for a list of forcing options;
Type dpkg-deb --help for help about manipulating *.deb files;
Type dpkg --license for copyright license and lack of warranty (GNU GPL)
.
Options marked
produce a lot of output - pipe it through `less' or `more' !
PLEASE HELP ME OUT
More Information:
I am new in ubuntu field i dont know what that output means,and i had already installed jdk6 from add/remove. and then i installed it again according to above info