I agree with Erik. tools.jar is included into CLASSPATH in tomcat.bat, and
spaces in paths may not be a problem, but definitely are a problem in
applications (e.g. the Nokia WAP Toolkit for Windows won't run if installed
into a directory that contains spaces). So it is a good idea to try the
alternative 8.3 name of the directories (e.g. progra~1) instead.
Wrox may produce good books, but some of the recommendations in Professional
JSP are - at least in my humble opinion - not the best.

Regards
Christian

-----Original Message-----
From: Pete Ehli [mailto:[EMAIL PROTECTED]]

These paths are out of the Book "Professional JSP" wrox title and you
obviously don't understand how environment variables are set in windows. Yes
there are spaces and yes we are talking "windows" this is not Unix! I myself
tried to set these variables in the autoexec.bat file and Tomcat would not
run. ONLY when they are set GLOBALLY via the control panel does tomcat run
(for me at least in windows 2000) and if you set these variables via the
autoexe.bat file in windows 98 they would still have spaces --( yes you can
write them with dos names but why bother) again this is WINDOWS -- I wish
everyone would use Linux or Unix but it is a windows world. Ohh and the book
says that the classpath must point to tools.jar What java book have you
written lately that states otherwise. And also it depends what type of file
you are writing to .xml .bat which dictates if you quotes around the path
"C:\Program Files\Tomcat" but we are not talking files we are talking an OS
and how that OS directory structure is set up.

----- Original Message -----
From: "Erik G. Dybdahl" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, January 18, 2001 10:37 PM
Subject: Re: Installing tomcat on Windows 2000


> > JAVA_HOME  C:\jdk1.3.0_01
> >
> > CLASSPATH  C:\jdk1.3.0_01\lib\tools.jar
> >
> > TOMCAT_HOME C:\Program Files\Tomcat
> >
> > these have to be set in control panel - system icon - advanced tab -
> > enviorment variables button.
>
> Avoid setting CLASSPATH globally. It's not necessary either; tools.jar
will
> be added to the classpath used when tomcat is started, anyway.
>
> Also avoid directory names with spaces in them. You never know when that
is
> going to cause trouble. Whoever came up with the idea that such a central
> catalog in windows should have a space in it, and even that the name
should
> vary depending on your preferred language did us all a misfavour.
Hopefully not
> intended ;)
>
> erik
> erik
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to