LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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


Reply
  Search this Thread
Old 07-17-2003, 10:09 AM   #1
varunbihani
Member
 
Registered: Jul 2003
Location: indore, india
Posts: 69

Rep: Reputation: 15
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
 
Old 07-17-2003, 10:16 AM   #2
alan8373
LQ Newbie
 
Registered: Jul 2003
Distribution: SuSE, Debian, Slack, Ubuntu, Gentoo
Posts: 23

Rep: Reputation: 15
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.
 
Old 09-17-2003, 05:05 AM   #3
davee
Member
 
Registered: Oct 2002
Location: Ayrshire, Scotland
Distribution: Suse(home) RHEL (Work)
Posts: 263

Rep: Reputation: 30
If you're using tomcat 4, for JAKARTA_HOME read CATALINA_HOME

Dave

Last edited by davee; 09-17-2003 at 05:23 AM.
 
  


Reply


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
Java, apache, tomcat @ngelot Linux - Software 0 11-03-2005 06:55 AM
I can't run tomcat hus Programming 2 05-11-2005 12:48 PM
How do you run Tomcat as nobody? vous Linux - Software 11 03-24-2005 02:15 PM
Java, Tomcat, Apache2.0.47, Mandrake9.2 help lazat Linux - Software 6 12-16-2003 09:33 AM
java ant tomcat j-ray Linux - Software 1 09-12-2002 12:59 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:59 AM.

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