You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Derek Mc Connon <de...@icarus-e.com> on 2001/04/09 12:58:11 UTC

JAVA_HOME trouble

Hello
 
I am running Tomcat 3.1 under Apache
and I am having trouble running JSP pages.  I get a
500 error (Internal Servlet
error) when trying to load them
I have tried setting up JAVA_HOME variable but 
this does not seem to work

Could anyone tell me what files it needs to be changed in (.bat and .sh)
the path to my JAVA_HOME dir is '/usr/jdk1.2.2/'

If anyone has an example of what they done or how to set it up correctly
i would be grateful for there assistance


Thanks in advance,
Derek


> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> > For additional commands, email: tomcat-user-help@jakarta.apache.org
> >
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, email: tomcat-user-help@jakarta.apache.org
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, email: tomcat-user-help@jakarta.apache.org
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, email: tomcat-user-help@jakarta.apache.org
> 


Re: JAVA_HOME trouble

Posted by Shankar Gowda <sh...@yahoo.com>.
hi,
please check out in command as 'java' if it is working
then your path is correct !
if not
go to Autoexec.bat in win9x or .bash_profile in linux
add this 
inst #comments

JAVA_HOME =/usr/jdk1.2.2
#start after path= and add this donot remove other
#paths
PATH=$JAVA_HOME/bin:
EXPORT PATH JAVA_HOME

1.check this after sh .bash_profile execution
2.logout
3.login
4. type '$JAVA_HOME' or 'which java'
u must see the path of java
bye
shankar
--- Derek Mc Connon <de...@icarus-e.com>
wrote:
> Hello
>  
> I am running Tomcat 3.1 under Apache
> and I am having trouble running JSP pages.  I get a
> 500 error (Internal Servlet
> error) when trying to load them
> I have tried setting up JAVA_HOME variable but 
> this does not seem to work
> 
> Could anyone tell me what files it needs to be
> changed in (.bat and .sh)
> the path to my JAVA_HOME dir is '/usr/jdk1.2.2/'
> 
> If anyone has an example of what they done or how to
> set it up correctly
> i would be grateful for there assistance
> 
> 
> Thanks in advance,
> Derek
> 
> 
> > >
>
---------------------------------------------------------------------
> > > To unsubscribe, e-mail:
> tomcat-user-unsubscribe@jakarta.apache.org
> > > For additional commands, email:
> tomcat-user-help@jakarta.apache.org
> > >
> > 
> > 
> >
>
---------------------------------------------------------------------
> > To unsubscribe, e-mail:
> tomcat-user-unsubscribe@jakarta.apache.org
> > For additional commands, email:
> tomcat-user-help@jakarta.apache.org
> > 
> >
>
---------------------------------------------------------------------
> > To unsubscribe, e-mail:
> tomcat-user-unsubscribe@jakarta.apache.org
> > For additional commands, email:
> tomcat-user-help@jakarta.apache.org
> > 
> >
>
---------------------------------------------------------------------
> > To unsubscribe, e-mail:
> tomcat-user-unsubscribe@jakarta.apache.org
> > For additional commands, email:
> tomcat-user-help@jakarta.apache.org
> > 
> 


__________________________________________________
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail. 
http://personal.mail.yahoo.com/