Your JAVA_HOME environment variable should be set to c:\jdk1.3 and not c:\jdk1.3\bin and that should solve it.
Regards! >From: puneet sachar <[EMAIL PROTECTED]> >Reply-To: "Tomcat Users List" <[EMAIL PROTECTED]> >To: Tomcat Users List <[EMAIL PROTECTED]> >Subject: Re: help me Date: Wed, 12 Jun 2002 05:14:57 -0700 (PDT) > >siva,,, > >i 'm facing same probelm for 5 days and no one helped >me... > >shankar is there u asked him >he is there in developer form..he will definately help >u'' > >Puneet >--- siva murugan <[EMAIL PROTECTED]> wrote: > > Sir/Madam, > > > > Fine and expect the same from U and all. > > > > Iam SivaMurugan from INDIA. Just minutes back i > > downloaded jakarta-tomcat-4.0-20020530.zip from > > http://jakarta.apache.org site. > > > > I tried my first servlet file in the name of > > admin.java . I created the file and stored in the > > directory of > > c:\jakarta-tomcat-4.0\webapps\Root\WEB-INF . I > > compiled using javadoc and i got the admin.class > > file > > without any error, on my first attempt. To be frank > > i > > was really feeeling great , since its my first time > > downloading and running a program on an webserver. > > Before that i set the classpath. I am using windows > > 2000 server. So i set the classpath in > > >MyComputer/Properties/SystemProperties/Advanced/Environmet > > Variables/SystemVariables. Actually i set the > > classpath as > > >c:\jakarta-tomcat-4.0\common\lib\servlet.jar;c:\jdk1.3\bin; > > > > Now tried to run the Tomcatwebserver from the > > directory c:\jakarta-tomcat-4.0\bin\startup and > > unfortunately i couldn't do that. Its showing the > > following error. > > > > The JAVA_HOME environment variable is not defined > > This environment Variable is needed to run this > > program > > Using CATALINA_BASE: .. > > Using CATALINA_HOME: .. > > Using CATALINA_TEMPDIR: ..\temp > > Using JAVA_HOME: > > The System cannot find the file > > -Djava.endorsed.dirs=. > > > > So i tried to set the JAVA_HOME enviroment variable > > as > > c:\jdk1.3\bin; Then i tried again, now also iam > > getting the same error. What wrong? Please help me.. > > > > > > Iam using > > JAVA VERSION 1.3.01 > > JAVA(TM)2 RUN TIMEENVIRONMENT, STANDARD EDITION > > (BUILD 1.3.01) > > JAVA HOTSPOT(TM) CLIENT VM (BUILD 1.3.01, MIXED > > MODE) > > > > Waiting for a +ive and immediate mail from U > > Sir/Madam. > > > > Love, > > Siva > > > > > > > > __________________________________________________ > > Do You Yahoo!? > > Yahoo! - Official partner of 2002 FIFA World Cup > > http://fifaworldcup.yahoo.com > > > > -- > > To unsubscribe, e-mail: > > <mailto:[EMAIL PROTECTED]> > > For additional commands, e-mail: > > <mailto:[EMAIL PROTECTED]> > > > > >__________________________________________________ >Do You Yahoo!? >Yahoo! - Official partner of 2002 FIFA World Cup >http://fifaworldcup.yahoo.com > >-- >To unsubscribe, e-mail: ><mailto:[EMAIL PROTECTED]> >For additional commands, e-mail: ><mailto:[EMAIL PROTECTED]> _________________________________________________________________ Send and receive Hotmail on your mobile device: http://mobile.msn.com -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>