View Full Version : installing JAVA and JSP/Tomcat
kunal 05-08-2002, 05:04 PM ARRRRRRRRRRRRRRRRRRRRRRRRG! :angry:
I have spent the last 2days on finding a way to get java and tomcat installed on my red hat 7.1 server.. but it just wont work.. I dont know what I am doing wrong.. all the steps mentioned on the sun site go through fine.. but when i do the following :
whereis java
it says it cant be found.. !!!
can anyone direct me to some decent documentation?
Thanks!
kunal
diederik 05-08-2002, 05:54 PM Are these useful ?
http://www.ccl.net/cca/software/UNIX/apache/tomcat3.1b1-faq.html#install_tomcat
http://www.phptr.com/graves/install_tomcat_server.html
http://www.onjava.com/pub/a/onjava/2001/03/29/tomcat.html?page=2
These are just some google links i've found, got no experience with them myself :D
Good luck :blush:
allera 05-08-2002, 06:05 PM How did you install java?
kunal 05-08-2002, 06:34 PM Originally posted by diederik
Are these useful ?
http://www.ccl.net/cca/software/UNIX/apache/tomcat3.1b1-faq.html#install_tomcat
http://www.phptr.com/graves/install_tomcat_server.html
http://www.onjava.com/pub/a/onjava/2001/03/29/tomcat.html?page=2
These are just some google links i've found, got no experience with them myself :D
Good luck :blush:
Hey!
Thanks for the links.. what did you search for? :confused:
kunal
Jedito 05-08-2002, 06:39 PM I found that this is the best documentation
http://jakarta.apache.org/tomcat/tomcat-4.0-doc/
Did you tried?
kunal 05-08-2002, 06:42 PM Originally posted by Jedito
I found that this is the best documentation
http://jakarta.apache.org/tomcat/tomcat-4.0-doc/
Did you tried?
thanks for the link.. but what about plain old java? :)
-kunal
Jedito 05-08-2002, 06:51 PM I guess that you already was here, but not sure
http://java.sun.com/j2se/1.4/install-linux.html
allera 05-08-2002, 06:52 PM Kunal, how did you try to install java?
All you need to do is go to Sun's site, download the linux .bin file to the server, chmod 755 the .bin file, and execute it in the directory you want it deployed in (eg /usr/local).
kunal 05-08-2002, 07:23 PM Jedito : ive already installed java according to those instructions.. thanks for the link though
Originally posted by allera
Kunal, how did you try to install java?
All you need to do is go to Sun's site, download the linux .bin file to the server, chmod 755 the .bin file, and execute it in the directory you want it deployed in (eg /usr/local).
Ive already done this... BUT how do i know if java is installed? :)
Kunal
allera 05-08-2002, 07:26 PM Assuming you installed it in /usr/local/java:
/usr/local/java/bin/java -version
or more simply
$JAVA_HOME/bin/java -version
where $JAVA_HOME=/usr/local/java
kunal 05-08-2002, 07:39 PM ./java -version
/usr/java/jdk1.3.1_02/bin/i386/native_threads/java: error while loading shared libraries: libstdc++-libc6.1-1.so.2: cannot open shared object file: No such file or directory
woops. :rolleyes:
allera 05-08-2002, 07:56 PM Try google:
http://www.google.com/search?hl=en&safe=off&q=libstdc%2B%2B-libc6.1-1.so.2
You may have the file it's looking for, just not called what it thinks it's called. We had it by default on our FreeBSD java machine with Linux compat installed.
diederik 05-09-2002, 07:41 AM Originally posted by kunal
Hey!
Thanks for the links.. what did you search for? :confused:
kunal
Google >> tomcat AND install ;)
ckpeter 05-09-2002, 01:00 PM Originally posted by kunal
woops. :rolleyes:
Read the install instruction. This problem is mentioned in the doc.
Peter
kunal,
are you on FreeBSD?
Jedito 05-09-2002, 06:24 PM Originally posted by kunal
I have spent the last 2days on finding a way to get java and tomcat installed on my red hat 7.1 server
|