install latest eclipse in linux mint

  7 years ago

if you want the latest eclipse then go to the eclipse official site:   

and then to the downloads section.

now you will see the latest versions available

for now its eclipse kepler 4.3.1 and in the developer builds : eclipse luna 4.4 M4 (21th Dec 2013)

if you go to the above link from linux then you will be presented with the linux versions by default. if you go to the website within other OS, make sure you select the right platform.

then download the right choice of yours ( for me its eclipse standard 4.3.1 or 4.4 M4)

you can select any mirror you like (i downloaded from the main site at canada)

after downloading

you will see a archive named like eclipse-standard*.tar.gz

1. make a folder

mkdir /home/user/eclipse_version

(user is your user name)

or simply create a new folder in the /home/user directory by right clicking with the name eclipse_version

2. extract the archive into this directory with archive manager


tar -zxvf file_name.tar.gz -C /home/user/eclipse-version

now eclipse is already installed, it's in the directory /home/user/eclipse-version/eclipse

to run eclipse from the install directory

go to the directory /home/user/eclipse-version/eclipse

and double click the file "eclipse" and that's it.

to run eclipse from a desktop launcher

right click on the desktop and choose "create a new launcher here"

in name type Eclipse version(Luna) or whatever you want

in command type /home/user/eclipse-version/eclipse/eclipse

you can change the icon by clicking on it and browsing the eclipse icon in 

/home/user/eclipse-version/eclipse directory

you can add comment if you like in the comment section.

now hit OK.

a desktop shortcut will be created for you.

to run eclipse from the menu

1. in the terminal enter this code:

sudo gedit /usr/share/applications/eclipse-luna.desktop

eclipse-luna will be replaced  by your app name

2. copy paste the following lines into the newly opened .desktop file

[Desktop Entry]
Comment=Eclipse Integrated Development Environment
Name=Eclipse Luna
GenericName=eclipse-4.4 M4

user will be replaced by your user name. (must).

For Exec and Icon, the path should be correct i.e you must change "user"  & "eclipse-version" according to your path. (must).

in "Name= Eclipse Luna " you can change the name whatever you want.(optional).

in "GenericName" you can put whatever you want. you can cut off this line too.(optional).

save & exit the .desktop file.

a new entry named "Eclipse Luna" will be added in the menu under the programming section.

3. now go to menu->programming->Eclipse Luna.

Enjoy... your eclipse environment....

Jeff69 2 years ago

I get the message:
An error has occurred. See the log file


!SESSION 2019-02-17 16:41:49.264 -----------------------------------------------
java.vendor=Oracle Corporation
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=de_DE
Framework arguments: -product
Command-line arguments: -os linux -ws gtk -arch x86_64 -product

!ENTRY org.eclipse.equinox.simpleconfigurator 4 0 2019-02-17 16:41:49.738
org.osgi.framework.BundleException: The bundle "org.eclipse.equinox.simpleconfigurator_1.0.200.v20100503 [1]" could not be resolved. Reason: Missing Constraint: Bundle-RequiredExecutionEnvironment: CDC-1.1/Foundation-1.1,J2SE-1.4
at org.eclipse.osgi.framework.internal.core.AbstractBundle.getResolverError(
at org.eclipse.osgi.framework.internal.core.AbstractBundle.getResolutionFailureException(
at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(
at org.eclipse.osgi.framework.internal.core.AbstractBundle.resume(
at org.eclipse.osgi.framework.internal.core.Framework.resumeBundle(
at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(
at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(
at org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL(
at org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(
at org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(
at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(
at org.eclipse.osgi.framework.eventmgr.EventManager$

!ENTRY org.eclipse.osgi 4 0 2019-02-17 16:41:49.742
!MESSAGE Bundle initial@reference:file:plugins/org.eclipse.equinox.simpleconfigurator_1.0.200.v20100503.jar/ was not resolved.

!ENTRY org.eclipse.osgi 2 0 2019-02-17 16:41:49.750
!MESSAGE The following is a complete list of bundles which are not resolved, see the prior log entry for the root cause if it exists:
!SUBENTRY 1 org.eclipse.osgi 2 0 2019-02-17 16:41:49.750
!MESSAGE Bundle org.eclipse.equinox.simpleconfigurator_1.0.200.v20100503 [1] was not resolved.
!SUBENTRY 2 org.eclipse.equinox.simpleconfigurator 2 0 2019-02-17 16:41:49.750
!MESSAGE Missing Constraint: Bundle-RequiredExecutionEnvironment: CDC-1.1/Foundation-1.1,J2SE-1.4

!ENTRY org.eclipse.osgi 4 0 2019-02-17 16:41:49.751
!MESSAGE Application error
java.lang.IllegalStateException: Unable to acquire application service. Ensure that the org.eclipse.core.runtime bundle is resolved and started (see config.ini).
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(
at java.base/java.lang.reflect.Method.invoke(
at org.eclipse.equinox.launcher.Main.invokeFramework(
at org.eclipse.equinox.launcher.Main.basicRun(
at org.eclipse.equinox.launcher.Main.main(

unclekeypax 2 years ago

Thank you it really helped

kewi 6 years ago

Works fine. Got the paths wrong the first time as I extracted it differently. Put it in /opt but with the paths fixed all good.

shreejith 6 years ago

Thanks it was really helpful.

citricube 7 years ago

Nevermind found this great tutorial

citricube 7 years ago

Awesome post, anyway to add it to terminal as well. So I could get it by typing eclipse or eclipse-kepler?