aspose file tools*
The moose likes Servlets and the fly likes still problems with tomcat Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "still problems with tomcat" Watch "still problems with tomcat" New topic
Author

still problems with tomcat

Val Dra
Ranch Hand

Joined: Jan 26, 2001
Posts: 439
Hi i have correctly setup the environment variables and i get no errors there but when i try to startup the tomcat i get this
Notice this line
Cannot find file 'c:\jdk1.3\bin\bin\java' (or one of its components).
i dont have this in my path how does it add bin\java my path is not structured like this i looked at the startup.bat file and i noticedit they add it to the variables there so i tried to remove these \bin\java but that didn't seem to work either. What do i do wrong ?
Microsoft(R) Windows 98
(C)Copyright Microsoft Corp 1981-1999.
C:\WINDOWS\Desktop>cd c:\tomcat\bin
C:\tomcat\bin>startup
Including all jars in c:\tomcat\lib in your CLASSPATH.
Using CLASSPATH: c:\tomcat\classes;c:\tomcat\lib\ANT.JAR;c:\tomcat\lib\JAXP.JAR;
c:\tomcat\lib\SERVLET.JAR;c:\tomcat\lib\PARSER.JAR;c:\tomcat\lib\WEBSER~1.JAR;c:
\tomcat\lib\JASPER.JAR
Starting Tomcat in new window
Cannot find file 'c:\jdk1.3\bin\bin\java' (or one of its components).
Check to ensure the path and filename are correct and that all
required libraries are available.
C:\tomcat\bin>

Val SCJP <BR>going for SCJD
Carl Trusiak
Sheriff

Joined: Jun 13, 2000
Posts: 3340
You have the setting for JAVA_HOME set wrong. Apparently by the erro message you have it set for 'c:\jdk1.3\bin' and it should be set to 'c:\jdk1.3' Modify this environment variable and let us know how it goes.


I Hope This Helps
Carl Trusiak, SCJP2, SCWCD
Val Dra
Ranch Hand

Joined: Jan 26, 2001
Posts: 439
Carl thanks , that did it i did have \bin in there. It appends \bin\java in the .bat file although why add \java i don't have that. Interesting...
Carl Trusiak
Sheriff

Joined: Jun 13, 2000
Posts: 3340
Originally posted by Val Dra:
why add \java i don't have that. Interesting...

Tomcat is trying to run java.exe by calling %JAVA_HOME%\bin\java


------------------
Hope This Helps
Carl Trusiak
Val Dra
Ranch Hand

Joined: Jan 26, 2001
Posts: 439
i was able to view samples done by tomcat if i wanted to create my own where do i place them so i can run them though browser ? Thanks.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: still problems with tomcat
 
Similar Threads
Tomcat 4.0 Configuration
tomcat 4.0 configuration
Tomcat is not running.. pls help
Pls make my Tomcat Running..
Tomcat is *almost* running