Installing Eclipse

The install is very simple (in fact there is no install program as such) all we need to do is extract the files into the required directory, as follows:

If you don't already have Java installed on your computer then, install it.  
Download the code:
goto the eclipse website http://www.eclipse.org/
On the top-left of the home page there is a link to the downloads page.
download button
luna download

I downloaded "Eclipse IDE for Java and DSL Developers" because I want to use Xtext.

I clicked on MD5 before downloading and saved the checksum in a text file so that I can check it later.

I then clicked on "Linux 64 bit"
Then choose the appropriate mirror (I just chose the default by clicking on the green button).

md5 button
Then save the file and wait for it to download. download dialog
You can now check the MD5 checksum as explaind in the box below. This will tell you if the file has been downloaded without any errors.

Checksum:

In order to make sure the file was downloaded correctly I noted the checksum(md5) on the website which in my case was:

1ac3392528cd03f3792fb3ebebb635c5 eclipse-dsl-luna-R-linux-gtk-x86_64.tar.gz

Then, once the download was complete, I ran md5sum from the command line as follows:

> md5sum eclipse-dsl-luna-R-linux-gtk-x86_64.tar.gz
1ac3392528cd03f3792fb3ebebb635c5  eclipse-dsl-luna-R-linux-gtk-x86_64.tar.gz
>

As you can see the hexadecimal code was the same, that gives confidence that the file downloaded correctly.

Optional Stage - Increase Memory Available

You probably don't need to do anything here, but if you need to increase the memory available then you can use a text editor to edit the 'eclipse.ini' file in the eclipse folder where you installed eclipse. The following is the default contents of my .ini file which seemed to work fine for me, without changing anything.

-startup
plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.200.v20140603-1326
-product
org.eclipse.epp.package.dsl.product
--launcher.defaultAction
openFile
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256m
--launcher.defaultAction
openFile
--launcher.appendVmargs
-vmargs
-Dosgi.requiredJavaVersion=1.6
-XX:MaxPermSize=256m
-Xms128m
-Xmx1024m

Run Eclipse

If you are using Linux: extract the 'eclipse' folder from this file into a sutable directory (I am using SUSE so I chose: /usr/lib64). If you are using Windows then extract it into C:\Program Files\eclipse.

Check permissions of /usr/lib64/eclipse/eclipse to make sure 'is Executable' is set (it should be set already so you probably don't need to do anything).

You may want to put an Eclipse icon on your desktop. You may be able to do this by dragging /usr/lib64/eclipse/eclipse to desktop and set it to link

extract
luna splash screen Then start eclipse by running /usr/lib64/eclipse/eclipse or, if you created a desktop icon, then click on it:
I clicked on 'OK' to select the default workspace location. workspace dialog
If this is a new workspace we get the 'welcome' project:  

We can clear this welcome screen and we are ready to start.

For information about installing the SPAD editor see this page.


metadata block
see also:

 

Correspondence about this page

Book Shop - Further reading.

Where I can, I have put links to Amazon for books that are relevant to the subject, click on the appropriate country flag to get more details of the book or to buy it from them.

cover The Java Developer's Guide to Eclipse.

Commercial Software Shop

Where I can, I have put links to Amazon for commercial software, not directly related to this site, but related to the subject being discussed, click on the appropriate country flag to get more details of the software or to buy it from them.

 

This site may have errors. Don't use for critical systems.

Copyright (c) 1998-2015 Martin John Baker - All rights reserved - privacy policy.