The installation of eclipse in Linux cannot be started, and the JDK solution cannot be found.

Source: Internet
Author: User
Tags gtk

1. Download
Download eclipse and myeclipse address: http://www.verycd.com/topics/147708/
2. Installation
Installing eclipse is very simple. Use the tar-zxvf command to decompress eclipse and move it to the directory you want to store.
After decompressing eclipse, run the command and prompt that JDK cannot be found in eclipse. The error is as follows:

 

JVM terminated. Exit code =-1
-Xms40m
-Xmx256m
-XX: maxpermsize = 256 m
-Djava. Class. Path =/usr/local/Eclipse/plugins/org. Eclipse. Equinox. launcher_1.0.201.r35x_v20090715.jar

-OS Linux
-Ws GTK
-Arch x86
-Showsplash/usr/local/eclipse // plugins/org. Eclipse. platform_3.3.202.v201002111343/splash.bmp
-Launcher/usr/local/Eclipse/eclipse
-Name eclipse
-- Launcher. Library/usr/local/Eclipse/plugins/org. Eclipse. Equinox. launcher. GTK. Linux. x86_1.0.200.v20090520/eclipse_1206.so
-Startup/usr/local/Eclipse/plugins/org. Eclipse. Equinox. launcher_1.0.201.r35x_v20090715.jar
-VM/usr/Java/jdk1.6.0 _ 20/bin/../JRE/lib/i386/client/libjvm. So
-Vmargs
-Xms40m
-Xmx256m
-XX: maxpermsize = 256 m
-Djava. Class. Path =/usr/local/Eclipse/plugins/org. Eclipse. Equinox. launcher_1.0.201.r35x_v20090715.jar

 

 

The solution is as follows:
 
Modify the ECL. ini file in the eclipse directory as follows:
-Debug
Options
-VM
/Usr/jdk1.5/bin/Java
-Vmargs
-Xms40m
-Xms256m
Save and run eclipse again. You can start it.
 
Installing myeclipse is also very easy. First, grant the executable permission chmod A + x myeclipse. bin to the downloaded myeclipse file, and then execute./myeclipse. Bin
Start installation. The installation process is basically the same as that in windows. After installing myeclipse, You need to activate it. The activation code is as follows:
Myeclipse registration code:
License name: eimhe.com
License key: rLR8ZC-444-55-4467865849792733

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.