How to solve an eclipse error in linux

Source: Internet
Author: User
I have installed the linux system on the vmwarevm and successfully installed jdk. now I can run my own JAVA program. However, after the eclipse-jee-galileo-sr2-linux-gtk.tar file is decompressed, running eclipse always fails. it prompts that JREJDK is not installed properly. In short, it is...
I have installed the linux system on the vmwarevm and successfully installed jdk. now I can run my own JAVA program. But after extracting the eclipse-jee-galileo-SR2-linux-gtk.tar file, running eclipse always fails. it prompts that jre jdk is not installed properly. In short, the PATH is incorrect. Paste the running error information... 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:/home/wrm/Desktop/eclipse/jre/bin/java in your current PATH what should I do ?! JDK installation is okay. you can run the JAVA program using the command line. Download eclipse-jee-ganymede-linux-gtk.tar.gz installation: copy eclipse-jee-ganymede-linux-gtk.tar.gz to/usr/soft/eclipse Directory, cd to this directory, execute: tar-zvxf eclipse-jee-ganymede-linux-gtk.tar.gz in/usr/soft/eclipse to generate eclipse package, enter eclipse, that is,/usr/soft/eclipse, run. /eclipse: An error occurred while running eclipse. the prompt "no java virtual machine was found after searching the following locations:" www.2cto.com solution: install eclipse in debian: unzip it to a certain location, here is/usr/soft/ec When running eclipse, the system prompts "no java virtual machine was found after searching the following locations :". The reason is that jre is not found. The solution is to enter the/usr/soft/eclipse Directory, establish a soft connection, and connect to jre, ln-s/usr/soft/java/jdk/jre username: /usr/soft/eclipse # ln-s/usr/soft/java/jdk/jre author niuxiaoxia870563296

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.