Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm facing an anoying issue on Linux/Debian Tomcat configuration:

I've set up path variables, but when I try to start or shutdown Tomcat nothing happens. Log is empty and the following appears:

root@debian:/var/tomcat/bin# ./
Using CATALINA_BASE:   /var/tomcat
Using CATALINA_HOME:   /var/tomcat
Using CATALINA_TMPDIR: /var/tomcat/temp
Using JRE_HOME:        /usr/lib/jdk/bin
Using CLASSPATH:       /var/tomcat/bin/bootstrap.jar
./ 476: ./ /usr/lib/jdk/bin/bin/java: not found

As seen, the last line shows a possible missconfigured environment variable. But I've reviewed installation steps and I couldn't find it. Any idea on what should solve the problem?

Tomcat is version 6 (in directory /var/tomcat). JDK is 1.7.0 update 25 (latest) (in directory /usr/lib/jdk/).


share|improve this question

Problem was in exporting JAVA_HOME:

Rather /usr/lib/jdk/bin it should be only /usr/lib/jdk.

Everything is working fine now. Hope it would be usefull to sb.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.