hi all,
thanks for your responses.
I went ahead and downloaded java and tomcat using following commands
a) wget
http://mirror.candidhosting.com/pub/...-6.0.26.tar.gz
b) wget
http://cds.sun.com/is-bin/....jdk-6u...x-i586-rpm.bin
After downloading the above, I started installing java.
$ chmod +x jdk-6u20-linux-i586-rpm.bin
$ ./jdk-6u20-linux-i586-rpm.bin
.
.
.
.
Unpacking...
Checksumming...
Extracting...
UnZipSFX 5.50 of 17 February 2002, by Info-ZIP (Zip-Bugs@lists.wku.edu).
inflating: jdk-6u20-linux-i586.rpm
inflating: sun-javadb-common-10.5.3-0.2.i386.rpm
inflating: sun-javadb-core-10.5.3-0.2.i386.rpm
inflating: sun-javadb-client-10.5.3-0.2.i386.rpm
inflating: sun-javadb-demo-10.5.3-0.2.i386.rpm
inflating: sun-javadb-docs-10.5.3-0.2.i386.rpm
inflating: sun-javadb-javadoc-10.5.3-0.2.i386.rpm
error: can't create transaction lock on /var/lib/rpm/__db.000
Installing JavaDB
error: can't create transaction lock on /var/lib/rpm/__db.000
Done.
[temp]$ sudo ./jdk-6u20-linux-i586-rpm.bin
We trust you have received the usual lecture from the local System
Administrator. It usually boils down to these three things:
#1) Respect the privacy of others.
#2) Think before you type.
#3) With great power comes great responsibility.
Password:
vhosting is not in the sudoers file. This incident will be reported.
audit_log_user_command(): Connection refused
[ temp]$
What did I do wrong ? How do I go about installing Java (and tomcat) ?
thank you,
BR,
~A