Hello Erwin,

I'd like to suggest to use NT family windows for tomcat, then it would
be the easest way - tomcat will find all that he needs by himself. And
then if you'd like to help him you may set tomcat_home.

Else that is spare:
Wednesday, June 20, 2001, 10:37:51 AM, you wrote:

EBM> hi to everybody ....

EBM> i'm just newbie and starting to study/learn the technology of java.
EBM> my operating system is windows 98.
EBM> i've been instalingl and configuring the j2sdk1.3.1 and servlets on my pc.
EBM> i've also installed tomcat (jakarta-tomcat3.2.2) as my web server.
EBM> my problem is, upon executing/running the startup.bat, it gives me
EBM> "BAD COMMAND OR FILE NAME". then if i try to execute the tomcat.bat,
EBM> it gives me "UNABLE TO LOCATE SERVLET.JAR, CHECK THE VALUE OF TOMCAT_HOME."
EBM> eventhough i have already modified my autoexec.bat, btw here's  the
EBM> content of my autoexec.bat :

EBM> SET TOMCAT_HOME=C:\java2\jdk\tomcat;

EBM> SET JAVA_HOME=C:\java2\jdk;

EBM> SET
EBM> CLASSPATH=C:\java2\jdk;C:\java2\jdk\lib;C:\java2\jdk\include;C:\java2\jdk\jr
EBM> e\bin;C:\java2\jdk\jre\lib;C:\java2\jdk\jre\lib\rt.jar;C:\java2\jdk\jsdk;C:\
EBM> java2\jdk\jsdk\server.jar;C:\java2\jdk\jsdk\servlet.jar;C:\java2\jdk\jsdk\sr
EBM> c\javax;C:\java2\jdk\tomcat\bin;C:\java2\jdk\tomcat\conf;C:\java2\jdk\tomcat
EBM> \lib;C:\java2\jdk\tomcat\lib\servlet.jar;C:\java2\jdk\tomcat\src\org\apache;
EBM> C:\java2\jdk\tomcat\src\org\apache\jasper;C:\java2\jdk\tomcat\src\org\apache
EBM> \tomcat;C:\java2\jdk\servletapi\lib;%TOMCAT_HOME%\lib;%TOMCAT_HOME%\classes;
EBM> %JAVA_HOME%\lib\tools.jar;C:\Program
EBM> Files\JavaSoft\JRE\1.3.1\lib;C:\WINDOWS\JAVA\Packages;

EBM> PATH=C:\WINDOWS;C:\WINDOWS\COMMAND;C:\java2\jdk;C:\java2\jdk\bin;C:\java2\jd
EBM> k\jre\bin;C:\java2\jdk\jsdk;C:\java2\jdk\tomcat;C:\java2\jdk\tomcat\bin;C:\j
EBM> ava2\jdk\tomcat\conf;

EBM> SET PATH=%PATH%;%JAVA_HOME%\bin;

minimal configuration in autoxec.bat is:
SET JAVA_HOME=C:\path\to
SET TOMCAT_HOME=C:\path\to
SET CLASSPATH=.;%JAVA_HOME%\JRE\LIB\RT.JAR
SET PATH=%PATH%;%JAVA_HOME%\BIN

and then restart windows - and test whether those evironemnt variables
was set correctly.
and then look through tomcat.bat - and make by yourself mystartup.bat
and myshutdown.bat - because i'm sure win9x can't work correctly with
environmnet variables - but tomcat batch files depend on it verymuch.

Comments:
 be attentive with CLASSPATH! there must be a "." anywhere
  among ";". It means current dir.
 be sure that there no whitespaces in your pathes - java doesn't like
  it.
--
Best regards,
 Andrew

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to