• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Unable to Start Tomcat

 
Ranch Hand
Posts: 1228
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks I have solved it.
Now my java home points to JAVA_HOME: ==> C:\j2sdk1.4.0
 
reply
    Bookmark Topic Watch Topic
  • New Topic