Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
07-17-2003, 10:09 AM
|
#1
|
Member
Registered: Jul 2003
Location: indore, india
Posts: 69
Rep:
|
run java and tomcat
How to configure jdk and tomcat server on linux.
In which directories should we keep them and how to run them
i am a newbie into linux and plz help me out
|
|
|
07-17-2003, 10:16 AM
|
#2
|
LQ Newbie
Registered: Jul 2003
Distribution: SuSE, Debian, Slack, Ubuntu, Gentoo
Posts: 23
Rep:
|
I've been using Linux with tomcat and java for almost a year now. The truth is that there is no specific place where you *must* put the jdk and tomcat, however, there are some recommended places. Typically, executables that are to be used system-wide are placed into either /usr/local, /usr/bin, or /usr/local/bin. I'm not exactly sure what the differences are though. My preference is to use /usr/local as the starting poing (the equivalent of Windows "c:\program files" for example).
On my system, I've installed the JDK 1.4.1 into /usr/local/development/j2sdk1.4.1 and tomcat into /usr/local/development/apache/tomcat-4.1.24. Everything works fine for me. Just remember to set your $JAVA_HOME, and your $JAKARTA_HOME environment variables, and to add the $JAVA_HOME, and $JAVA_HOME/bin paths to you $PATH environment variable after installing.
Hope this helps.
|
|
|
09-17-2003, 05:05 AM
|
#3
|
Member
Registered: Oct 2002
Location: Ayrshire, Scotland
Distribution: Suse(home) RHEL (Work)
Posts: 263
Rep:
|
If you're using tomcat 4, for JAKARTA_HOME read CATALINA_HOME
Dave
Last edited by davee; 09-17-2003 at 05:23 AM.
|
|
|
All times are GMT -5. The time now is 03:59 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|