* Markus-Alexander Metz wrote (26/05/06 11:51): > Hi Andrew > > Thanks for your feedback. I'm running the stick under windows based systems. > Java (jre and SDK) is also installed on the stick. You wrote: > >> Why do you not define JAVA_HOME and CATALINA_HOME in the startup scripts? > > This would be the solutions I was seeking. But how does this script has to > look like? I guess I have to write a .bat file and set the environment > variables inside. And start this .bat File by the autorun.inf. > > But how has this script looks like to set the environment variables? Does > someone has any idea, cause I'm not very familiar in writing such scripts?
Tomcat comes with a script called catalina.bat (it's in /bin), which already guesses CATALINA_HOME. Tweak this to set JAVA_HOME as well, and there you go. Chris --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]