You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by blanchard nike <bl...@yahoo.com> on 2001/10/17 15:40:30 UTC

How can I...

Good Day, 
I am learning servlet programming, using
Jakarta-Tomcat 3.2.3 container. But I have the thing 
stopped because it seems I am failing in setting
JAVA_HOME to point to my jdk installation. I tried the
setting in the autoexec.bat this way: 
SET JAVA_HOME=C:\JDK1.2.1\BIN
it did not work, and I tried in the command line this
way: as it is said in the user guide;
C> set JAVA_HOME=c=\jdk1.2.1\bin still it did not work
and the same error message appears: "Set JAVA_HOME to
point to your jdk installation". I am confused; I have
the jdk working perfectly with applets. What can I do?
What shall I type and where to fix up this? 
Also it is said I must add the java compiler to my
PATH. Could you help me with this please?
I would really appreciate your help, thanks
beforehand.
I am using Win 98. 
Regards



=====


__________________________________________________
Do You Yahoo!?
Make a great connection at Yahoo! Personals.
http://personals.yahoo.com

Re: How can I...

Posted by Adrian Caramarin <ad...@psgl.ro>.
Hi Bo,

    I ran into this problem once. I think all you need to do to is to set up
your JAVA_HOME environment properly, that means use SET
JAVA_HOME=C:\JDK1.2.1 instead SET JAVA_HOME=C:\JDK1.2.1\BIN. Try that,
should work.

Adrian


----- Original Message -----
From: "Bo Xu" <bo...@cybershop.ca>
To: <to...@jakarta.apache.org>
Sent: Wednesday, October 17, 2001 11:10 PM
Subject: Re: How can I...


> blanchard nike wrote:
>
> > Good Day,
> > I am learning servlet programming, using
> > Jakarta-Tomcat 3.2.3 container. But I have the thing
> > stopped because it seems I am failing in setting
> > JAVA_HOME to point to my jdk installation. I tried the
> > setting in the autoexec.bat this way:
> > SET JAVA_HOME=C:\JDK1.2.1\BIN
> > it did not work, and I tried in the command line this
> > way: as it is said in the user guide;
> > C> set JAVA_HOME=c=\jdk1.2.1\bin still it did not work
> > and the same error message appears: "Set JAVA_HOME to
> > point to your jdk installation". I am confused; I have
> > the jdk working perfectly with applets. What can I do?
> > What shall I type and where to fix up this?
> > Also it is said I must add the java compiler to my
> > PATH. Could you help me with this please?
> > I would really appreciate your help, thanks
> > beforehand.
> > I am using Win 98.
> > Regards
>
> set JAVA_HOME=C:\jdk1.3.1
> set JAKARTA_HOME=C:\jakarta-tomcat-4.0
>
> and in my win98 PC, if I *also* set PATH=C:\jdk1.3.1\bin, I found I
> can not run "startup.bat" (it doesn't lauch the second dos-prompt).
>
> Bo
> Oct.17, 2001
>
>
>


Re: How can I...

Posted by Bo Xu <bo...@cybershop.ca>.
blanchard nike wrote:

> Good Day,
> I am learning servlet programming, using
> Jakarta-Tomcat 3.2.3 container. But I have the thing
> stopped because it seems I am failing in setting
> JAVA_HOME to point to my jdk installation. I tried the
> setting in the autoexec.bat this way:
> SET JAVA_HOME=C:\JDK1.2.1\BIN
> it did not work, and I tried in the command line this
> way: as it is said in the user guide;
> C> set JAVA_HOME=c=\jdk1.2.1\bin still it did not work
> and the same error message appears: "Set JAVA_HOME to
> point to your jdk installation". I am confused; I have
> the jdk working perfectly with applets. What can I do?
> What shall I type and where to fix up this?
> Also it is said I must add the java compiler to my
> PATH. Could you help me with this please?
> I would really appreciate your help, thanks
> beforehand.
> I am using Win 98.
> Regards

set JAVA_HOME=C:\jdk1.3.1
set JAKARTA_HOME=C:\jakarta-tomcat-4.0

and in my win98 PC, if I *also* set PATH=C:\jdk1.3.1\bin, I found I
can not run "startup.bat" (it doesn't lauch the second dos-prompt).

Bo
Oct.17, 2001