File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Unable to Start Tomcat

 
Srinivasa Raghavan
Ranch Hand
Posts: 1228
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,
when i start tomcat i get the foloowing error. Guide me how to rectify it.
The JAVA_HOME environment variable is not defined correctly
This environment variable is needed to run this program
NB: JAVA_HOME should point to a JDK not a JRE
Using CATALINA_BASE: C:\jakarta-tomcat-4.1.31\
Using CATALINA_HOME: C:\jakarta-tomcat-4.1.31\
Using CATALINA_TMPDIR: C:\jakarta-tomcat-4.1.31\\temp
Using JAVA_HOME: C:\j2sdk1.4.0\bin\
The system cannot find the file -Dsun.io.useCanonCaches=false.


What should the JAVA_HOME variable shoud have ?
 
Srinivasa Raghavan
Ranch Hand
Posts: 1228
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks I have solved it.
Now my java home points to JAVA_HOME: ==> C:\j2sdk1.4.0
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic