Linux mint eclipse install

Linux mint eclipse install

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

www.eclipse.org

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

mkdir /home/user/eclipse_version

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.

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]
Encoding=UTF-8
Exec=/home/user/eclipse-version/eclipse/eclipse
Icon=/home/user/eclipse-version/eclipse/icon.xpm
Type=Application
Terminal=false
Comment=Eclipse Integrated Development Environment
Name=Eclipse Luna
GenericName=eclipse-4.4 M4
StartupNotify=false
Categories=Development;IDE;Java;

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).

Читайте также:  Linux ppp route add

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.

Comments

I get the message:
An error has occurred. See the log file
/home/jeff/eclipse/eclipse/configuration/1550418238213.log.

!SESSION 2019-02-17 16:41:49.264 ————————————————
eclipse.buildId=M20100909-0800
java.version=11.0.2
java.vendor=Oracle Corporation
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=de_DE
Framework arguments: -product org.eclipse.epp.package.java.product
Command-line arguments: -os linux -ws gtk -arch x86_64 -product org.eclipse.epp.package.java.product

!ENTRY org.eclipse.equinox.simpleconfigurator 4 0 2019-02-17 16:41:49.738
!MESSAGE
!STACK 0
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(AbstractBundle.java:1317)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.getResolutionFailureException(AbstractBundle.java:1301)
at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:319)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.resume(AbstractBundle.java:374)
at org.eclipse.osgi.framework.internal.core.Framework.resumeBundle(Framework.java:1067)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:561)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:546)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL(StartLevelManager.java:459)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:243)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager.java:440)
at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:227)
at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:337)

!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
!STACK 1
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(EclipseAppLauncher.java:74)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:369)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:619)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:574)
at org.eclipse.equinox.launcher.Main.run(Main.java:1407)
at org.eclipse.equinox.launcher.Main.main(Main.java:1383)

Thank you it really helped

Источник

How to Install Eclipse IDE on Linux Mint?

Eclipse is the most popular and commonly used IDE (Integrated Development Environment) among computer scientists, IT specialists, and software developers, to develop the Java-based program. It includes tons of plugins and extensions to make your programming experience smooth by providing all the necessary tools for building and testing Java programs. You can install this application either by using a system graphical user interface or a built-in tool known as a terminal, you can follow any of these methods that suits you the most. But before that you need to install the Java Runtime Environment (JRE) that is required to run the Java-based application:

How to install Java JRE in Linux Mint

Java has always been a solid choice for developers due to its widespread use in the software industry. Having Java is a requirement, to install Java on Linux Mint use:

How to install Eclipse IDE on Linux Mint through the official website

To install Eclipse visit Eclipse’s Official Website and then click on the download button as shown below:

Читайте также:  Dual boot linux mint and windows

This will start the downloading process that you can verify by clicking on the download tab which is available on the top right side of the browser.

The downloaded file is available in the .tar format, which needs to be extracted later and you can do that by right-clicking the file and choosing the extract option.

The second way of extracting this file is by using a terminal this will create a new directory from where you can see the extracted content:

You can install this application by using the file that you have extracted while downloading by directly opening the eclipse-inst file.

Or install this application using a terminal by typing:

This will launch its main user interface where you will see multiple options for installation. In our case we are going to use the first option which is “Eclipse IDE for Java Developers”:

How to install Eclipse IDE on Linux Mint using Software Manager

Installing Eclipse IDE using application manager is a simple task to do as you need to open the Software Manager search for this application by typing Eclipse IDE, open this application and then click on the Install button as shown below:

How to install the Eclipse IDE in Linux Mint using a snap manager

You can also install the Eclipse IDE using a snap manager on Linux Mint. Before installing the snap package, you need to remove the nosnap.pref file, otherwise you won’t be able to install the snap package:

After that you should be able to install the snap daemon by typing:

The next step is to install the Eclipse IDE that you can do that by typing:

This will install the Eclipse IDE package and later you can verify it by typing:

After launching Eclipse, you need to select the directory for your workspace and click on launch to start this application:

Later you need to select the desired directory for the working and click on the launch button that will open its main interface as shown below:

Conclusion

The Eclipse IDE is a well-known tool for developing Java-based applications. It includes a plethora of tools and plugins to make your programming experience more helpful. We’ve gone through three distinct approaches for installing the Eclipse IDE on Linux Mint in this post. The first is to download the package from the official website, using software manager, and using snap manager. You can install this program by following any method.

Читайте также:  Отключить linux через командную строку

About the author

Taimoor Mohsin

Hi there! I’m an avid writer who loves to help others in finding solutions by writing high-quality content about technology and gaming. In my spare time, I enjoy reading books and watching movies.

Источник

How To Install Eclipse IDE on Linux Mint 20 / Linux Mint 19

Install Eclipse IDE on Linux Mint 20

ITzGeek

Eclipse is a well-known, widely used IDE (Integrated Development Environment) for developing Java applications and also developing applications in COBOL, Ada, C, C++, Perl, PHP, Python, R, Ruby, Clojure, Scala, Groovy, and Scheme.

Eclipse is written in C and Java and released under Eclipse Public License. It includes development environments for Eclipse JDT for Java, Eclipse CDT for C/C++ and Eclipse PDT for PHP, among others.

With the plugins available in Eclipse Marketplace, we can extend the functionality of Eclipse.

Install Eclipse IDE On Linux Mint

Prerequisites

To be able to install Eclipse IDE, you must have sudo privileges.

Install Java

Update the system repository index.

Eclipse requires Java 8 or above needs to be available on your machine. To do that, you can either install Oracle JDK or OpenJDK.

For this demo, I will use OpenJDK 11 here.

sudo apt install -y openjdk-11-jdk

Verify the Java version on your machine.

openjdk version "11.0.7" 2020-04-14 OpenJDK Runtime Environment (build 11.0.7+10-post-Ubuntu-3ubuntu1) OpenJDK 64-Bit Server VM (build 11.0.7+10-post-Ubuntu-3ubuntu1, mixed mode, sharing)

Download Eclipse

Download the latest version of Eclipse IDE (v2020-036) from the Eclipse IDE’s official page using a web browser.

Download the Eclipse package over a terminal using the below command.

sudo apt install -y wget wget http://mirror.umd.edu/eclipse/technology/epp/downloads/release/2020-06/R/eclipse-java-2020-06-R-linux-gtk-x86_64.tar.gz

Extract Eclipse package to your desired directory (Ex. /usr/ ).

sudo tar -zxvf eclipse-java-2020-06-R-linux-gtk-x86_64.tar.gz -C /usr/

Symlink the eclipse executable to /usr/bin path so that all users on your machine can able to run and use Eclipse IDE.

sudo ln -s /usr/eclipse/eclipse /usr/bin/eclipse

Create Eclipse Launcher Icon

Sometimes creating an Eclipse launcher icon in GNOME will let you quickly start the application from the start menu of Linux Mint.

sudo nano /usr/share/applications/eclipse.desktop

Use the following information in the above file.

[Desktop Entry] Encoding=UTF-8 Name=Eclipse IDE Comment=Eclipse IDE Exec=/usr/bin/eclipse Icon=/usr/eclipse/icon.xpm Terminal=false Type=Application Categories=Development;Programming StartupNotify=false

Start Eclipse IDE

Command Line

Graphical Mode

Go to Menu >> Programming >> Eclipse IDE.

Start Eclipse On Linux Mint

Select a directory as a workspace for Eclipse and then click Launch.

Set Workspace for Eclipse

Eclipse IDE v2020-06 running on Linux Mint 20:

Eclipse Running on Linux Mint 20

Conclusion

In this article, you have seen how to install Eclipse IDE on Linux Mint 20 / Linux Mint 19. You can go to Eclipse Market Place to download plugins and products to extend the functionality of Eclipse IDE.

Источник

Оцените статью
Adblock
detector