• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Tomcat on Tiger with Java 1.5

 
Douggie Fox
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
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64715
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Have you checked out the entries in our Mac OS forum?
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • 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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic