After JDK is installed in Ubuntu, eclipse cannot be started.

Source: Internet
Author: User

Eclipse startup error: a Java Runtime Environment (JRE) or Java Development Kit (JDK) must be available in order to run eclipse. No Java virtual machine was found after searching
Following locations :...

This problem occurs when I installed two versions of eclipse on ubuntu1004: galieo + Helios. After I uninstalled the former, I found that eclipse cannot be started. If I found it online, I can solve it as follows:

Eclipse 3.6 has a strange phenomenon in Ubuntu 10.04. I have not passed the test and cannot determine whether it is caused by Ubuntu 10.04, JDK, or eclipse. This phenomenon is:

You can start eclipse on the terminal, but double-click it, or use the starter to start eclipse as follows:

A Java Runtime Environment (JRE) or Java Development Kit (JDK) must be available in order to run eclipse. No Java virtual machine was found after searching the following locations :...

The solution is to enter your eclipse directory on the terminal and enter:
Mkdir JRE
CD JRE
Ln-s your JDK directory/Bin

Solve the problem!


Source: http://www.cnblogs.com/dartagnan/archive/2010/12/01/2003528.html

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.