It's not a secret anymore!
The moose likes Tomcat and the fly likes Tomcat on Tiger with Java 1.5 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Tomcat on Tiger with Java 1.5" Watch "Tomcat on Tiger with Java 1.5" New topic

Tomcat on Tiger with Java 1.5

Douggie Fox

Joined: Jun 14, 2001
Posts: 19

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

Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 63534

Have you checked out the entries in our Mac OS forum?

[Asking smart questions] [About Bear] [Books by Bear]
Ben Souther

Joined: Dec 11, 2004
Posts: 13410

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 script.

Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
I agree. Here's the link:
subject: Tomcat on Tiger with Java 1.5
It's not a secret anymore!