tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 3971] - error with catalina.bat
Date Thu, 04 Oct 2001 18:08:59 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=3971>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=3971

error with catalina.bat





------- Additional Comments From secure_4@hotmail.com  2001-10-04 11:08 -------
I am not sure You did understand well.

After I installed evertything and started it said : (after trying Java_home) :
couldn't find (look closely) : jdk1.3\bin\bin\java  --> notice the two bin ??

Because the catalina.bat reference %Java_home%\bin\java  ---> so you get 
\bin\bin because %Java_home% ALREADY CONTAINS BIN

Plz understand that my Java_home is ok it's the way the batch file catalina.bat
is written --> it will append a directory called "bin" to Java_Home which 
ALREADY CONTAIN THE BIN DIRECTORY --> so it's looking for "java.exe" in a 
directory called (look closely) %Java_Home%\bin\java 

Solution 1  correct the 4 lines of the batch file to remove the "bin" directory 
(since it is already included with Java_home) 
 
OR

solution 2  --> Create a "bin" directory in my "Bin" directory and put Java.exe 
there --> so you're wrong batch file (catalina.bat) will find it when 
referencing the way it does -->

Mime
View raw message