• 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

Tomcat 5 point at prev JDK/JRE not 1.5

 
Ranch Hand
Posts: 34
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I'm using Tomcat 5 on windows XP and its complaining that im using Java 1.5...as I have it installed...

if i type...java -version...at the command line i get java version "1.5.0_04"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_04-b05)
Java HotSpot(TM) Client VM (build 1.5.0_04-b05, mixed mode, sharing)

ive set the JAVA_HOME & JRE_HOME TO my 1.4 version but it doesnt like it...

but i did read somewhere ages ago that you can point at your java environment in one of the tomcat xml files....is this true...if so how do you do it?
 
Sheriff
Posts: 13411
Firefox Browser VI Editor Redhat
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
If you installed the .exe version of Tomcat, these settings are stored in the registry. If, when you installed it, you chose to install the "Start Menu Items" (which I believe is the default) you can change it by clicking:
Start -> All Programs -> Apache Tomcat xx -> Configure Tomcat.
From there there is a Java Tab with a screen that has fields for you to configure your java settings.
[ August 15, 2005: Message edited by: Ben Souther ]
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic