I need to set up the environment variable JAVA_HOME and and
CATALINA_HOME to start some web and Java EE,  am  little bit confused
with conflicting information. 
When I run 
 java -version
ie get
java version "1.6.0_18"
OpenJDK Runtime Environment (IcedTea6 1.8.2)
(fedora-43.1.8.2.fc13-x86_64)
OpenJDK 64-Bit Server VM (build 14.0-b16, mixed mode)

When I run "which java"

I get
"/usr/bin/java[/QUOTE]"

checking my usr/share I see several directories
        java (full of files and directories)
        java-1.3.0 (1 jar in it)
        java-1.3.1 (empty)
        java-1.4.0 (empty)
        java-1.5.0 (empty)
        java-1.6.0 (empty)
        java-1.7.0 (empty)

Issuing the "echo %PATH gives the following"

        
/usr/lib64/qt-3.3/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/lib64/ccache:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/salam/bin


In eclipse helios 3.6, I see in preferences > Java I have 

        /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64


How one can check that he has Java EE setup correctly with Apache Tomcat
6 ?

I have Apache Tomcat up and running and need to setup CATALINA_HOME. 
In the usr/share/java directory, I have a directory "tomcat6" as well as
a tomcat6 directory in /usr/share/. In Eclipse, when I try to add a
server, eclipse doesnt see that I have a type of tomcat server.

I have found so many articles on the web but no 2 articles are similar.
I tried to browse Sun's "Path setup tutorial" but it seems it is not
available anymore.

Thanks for your help


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to