Ask Ubuntu is a question and answer site for Ubuntu users and developers. 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 had removed OpenJDK installed by default from Ubuntu Software Center.

Eclipse had been showing that Installed JRE is OpenJDK.

I wanted eclipse should be configured to jdk I already installed and configured.

After Removing installed JRE from eclipse and pointed to my JDK installed, When I run my Project I am facing an error that "Starting apache-tomcat-6.0.32 The specified JRE installation does not exist".

I had deployed application war at tomcat webapps and applicaion is running fine.

Also, My Core Java is executed fine by Eclipse.

Kindly provide some suggestions.

share|improve this question

migrated from Aug 11 '11 at 9:03

This question came from our site for professional and enthusiast programmers.

In Ubuntu, you can have multiple versions of Java installed in your system.

Currently, there are several implementations of Java with their respective JDK package.

  • OpenJDK - openjdk-6-jdk
  • Sun Java - sun-java6-jdk
  • and others including IBM Java

You can choose between the versions that you want to use with Ubuntu using the following command.

sudo update-alternatives --config java
share|improve this answer


try "export JAVA_HOME={your eclipse java folder}" and then in the same terminal session run tomcat: ""

share|improve this answer

I had configured RunConfigurations and Project setting in Eclipse. Now project is running appropriately in eclipse.

share|improve this answer

You can create a link to your new sun java. Just download the jdk from Oracle's website and set the path. I think this link might help you.

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.