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 use the GWT framework which compiles JAVA code into Javascript. GWT can only use JSE6 jdk. For deployment i use Tomcat 6, which is only compatible with JSE5 jdk.

Any suggestions? Regards.

share|improve this question
up vote 0 down vote accepted

So you have to make tomcat use sun-jdk 6. It's not correct that tomcat6 is only compatible with "JSE5 JDK", You have multiple options how to accomplish this: 1) Download official release from Oracle and set tomcat use this java as JAVA_HOME . Look to , it's up to you where you decide to define JAVA_HOME variable (just make it point to sun-jdk6 folder). 2) depends on what OS you running use package manager to install sun-jdk6 , and use system utility to set default system java : for example in Ubuntu/Debian it would be :

1) Add /etc/apt/sources.list
deb lucid partner
deb-src lucid partner
Update packages list:
aptitude update
2) Install:
aptitude install sun-java6-jdk
3) Set default JVM :
 sudo update-alternatives --config java
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.