Operating System - HP-UX
1831199 Members
2766 Online
110021 Solutions
New Discussion

Tomcat java version usage

 
SOLVED
Go to solution
Wessam Aly
Frequent Advisor

Tomcat java version usage

Hi all,

I currently have Tomcat 5 installed on my hpux 11i system. I also have Java 1.3 and Java 1.4 installed.

Tomcat reports that it uses Java version 1.3.
I, somehow, need it to use Java 1.4 instead.

Where can I configure this ?

Thanks
Wes
The manual said the program requires Windows 95 or better, so I installed Linux !
4 REPLIES 4
Peter Godron
Honored Contributor
Solution

Re: Tomcat java version usage

Wes,

do a
set JAVA_HOME=
ensure that the java1.4 location is in the path(preferably prior to java1.3 location)
and restart tomcat
Wessam Aly
Frequent Advisor

Re: Tomcat java version usage

I found 2 ways to change this config

1-
from the web browser, goto http://host:10000
and click on tomcat servlet engine and then settings..
it will allow you to set the java home.

2-
edit /etc/rc.config.d/hpws_tomcatconf and change the JAVA_HOME variable.

Thank all for your help
The manual said the program requires Windows 95 or better, so I installed Linux !
Peter Godron
Honored Contributor

Re: Tomcat java version usage

Wes,
glad my answer helped resolve your question.

Could you please review:
http://forums1.itrc.hp.com/service/forums/helptips.do?#28

and close the thread
Wessam Aly
Frequent Advisor

Re: Tomcat java version usage

thanks
The manual said the program requires Windows 95 or better, so I installed Linux !