Tomcat on Suse10.0 - won't start

Trying to get Tomcat running on SUSE 10. After a bit of pain I have finally got it installed, I have got it enabled, but when I try to start it in YAST I get the following message:

"/etc/init.d/tomcat5 start returned 7 (program is not running):
Starting Tomcat (/usr/share/tomcat5)..failed"

So I checked /var/log/tomcat5/base/start.log and found this single line:
"No JAVA_HOME specified in @@@TCCONF@@@/tomcat5.conf and no java found, exiting..."

Anywho, I didn't have a JAVA_HOME environment set, so I set one, but didn't seem to make any difference - I'm thinking it needs to be in the tomcat5.conf file, but I can't find that anywhere on my system.
I set JAVA_HOME to: /usr/java/j2sdk1.4.2_11 - java commands are working just fine on the command line.

'java -version' gives me this: java version "1.5.0_03"

Any ideas?
LVL 23
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

export JAVA_HOME

insert above 2 lines (not in the 1st line, but near to the top) to tomcat startup script: /etc/init.d/tomcat5

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
P.S. Your JAVA_HOME is a directory, where you can find  bin/java, I.e. it should contain subdirectory bin/
basicinstinctAuthor Commented:
Excellent answer!  
I shall name my first-born "Nopius".
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.