Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 11-16-2014, 04:46 AM   #1
Registered: Jul 2013
Posts: 44

Rep: Reputation: Disabled
Why does Tomcat 7 work without setting Java_Home ?

Hi.I was wondering why Tomcat works fine without setting the Java_home variable ? It serves jsp , servlets etc without Issue.
I don't know much about Tomcat and from the little I've read , setting Java_home Is necessary.
Old 11-16-2014, 11:41 PM   #2
Senior Member
Registered: Sep 2009
Location: Orange County, CA
Distribution: Kubuntu x64, Raspbian, CentOS
Posts: 1,853
Blog Entries: 36

Rep: Reputation: 455Reputation: 455Reputation: 455Reputation: 455Reputation: 455
Why do you think that? Also, you have given no context at all. (i.e. what OS, version of tomcat/java, how you installed it or where it is installed, etc). Without more information there's not much of a discussion.
Old 11-18-2014, 03:01 PM   #3
Registered: Jul 2013
Posts: 44

Original Poster
Rep: Reputation: Disabled
It's Installed on Debian 7.7.0 Wheezy.I Installed tomcat 7 via sudo apt-get.I read somewhere that It needs JAVA_HOME as a reference.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
setting JAVA_HOME yewint Linux - Newbie 1 12-30-2009 10:59 AM
JAVA_HOME variable for Tomcat leupi Linux - Software 3 06-07-2008 11:26 AM
How to set JAVA_HOME for Tomcat Technomot1 Linux - Newbie 2 11-26-2007 04:50 AM
setting JAVA_HOME gauravbagga Linux - Newbie 2 03-04-2005 10:17 PM
JAVA_HOME and tomcat mbbender Linux - Software 5 07-07-2003 09:39 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:58 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration