Looks like I do not need to set the
JAVA_HOME environment variable when installing Tomcat, anyone can confirm?
closed as not constructive by Nifle, Mokubai♦, 8088, Journeyman Geek♦, Kyle Jul 22 '12 at 9:03
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.If this question can be reworded to fit the rules in the help center, please edit the question.
Open the terminal, then type:
If java_home is set, you'll see a value. I have Tomcat running on my debian server, without java_home set. Why it works? I don't know for certain, but probably because of the use of standard directories for Java, so Tomcat knows where to look. If java is not there, it will complain during installation or during execution.