• 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Bear Bibeault
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • Junilu Lacar
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Jj Roberts
  • Tim Holloway
  • Piet Souris
Bartenders:
  • Himai Minh
  • Carey Brown
  • salvin francis

Tomcat on Tiger with Java 1.5

 
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I've got a fresh install of Tiger on my Powerbook and I've downloaded Java 1.5.0 and also Tomcat 5.5.9.

The problem I'm having is when tomcat starts it ignores my settings for JAVA_HOME and defaults to JRE_HOME. I've pointed JAVA_HOME to both the symlink /Library/Java/Home and also directly at the 1.5.0 install /System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home
but to no avail. Any ideas what's going wrong?

Thanks in advance

Paul
 
Marshal
Posts: 67478
173
Mac Mac OS X IntelliJ IDE jQuery Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Have you checked out the entries in our Mac OS forum?
 
Sheriff
Posts: 13411
Firefox Browser VI Editor Redhat
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Do you have JRE_HOME set?
Tomcat first looks for a JRE_HOME value.
If it doens't find one, then it looks for a JAVA_HOME value.

If you have JRE_HOME set for another application try adding a line to unset it to your startup.sh script.
 
Switching from electric heat to a rocket mass heater reduces your carbon footprint as much as parking 7 cars. Tiny ad:
Thread Boost feature
https://coderanch.com/t/674455/Thread-Boost-feature
reply
    Bookmark Topic Watch Topic
  • New Topic