Установка eclipse linux mint

Установка eclipse linux mint

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

Читайте также:  Install arch linux on virtualbox

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 in Ubuntu, Debian and Linux Mint

Eclipse is a free integrated development environment IDE that is used by programmers around to write software mostly in Java but also in other major programming languages via Eclipse plugins.

The latest release of Eclipse IDE 2023‑06 doesn’t come with pre-build binary packages specific for Debian-based Linux distributions. Instead, you can install Eclipse IDE in Ubuntu or Debian-based Linux distributions via the compressed installer file.

In this tutorial, we will learn how to install the latest edition of Eclipse IDE in Ubuntu or in Debian-based Linux distributions.

Requirements:

  • A Desktop machine with a minimum of 2GB of RAM.
  • Java 9 or higher installed in Debian-based distributions.

Install Eclipse IDE in Ubuntu

A Java 9 or newer JRE/JDK is required to install Eclipse IDE and the easiest way to install Oracle Java JDK using the apt command as shown.

$ sudo apt install default-jre

For installing Eclipse IDE in your system, first, open a browser and go to Eclipse’s official download page and download the latest version of the tar package specific to your installed Linux distribution architecture.

Читайте также:  Astra linux медленная печать

Alternatively, you can also download the Eclipse IDE tarball installer file in your system via wget utility, by issuing the below command.

$ wget http://ftp.yz.yamagata-u.ac.jp/pub/eclipse/oomph/epp/2023-06/R/eclipse-inst-jre-linux64.tar.gz

After the download completes, navigate to the directory where the archive package has been downloaded, usually Downloads directories from your home, and issue the below commands to start installing Eclipse IDE.

$ tar -xvf eclipse-inst-jre-linux64.tar.gz $ cd eclipse-installer/ $ sudo ./eclipse-inst

Eclipse IDE Installer

The new Eclipse Installer lists the IDEs available to Eclipse users. You can choose and click on the IDE package you want to install.

List of Eclipse IDE

Next, choose the folder where you want Eclipse to be installed.

Choose Eclipse IDE Installation Folder

Once the installation is finished you can now launch Eclipse.

Launch Eclipse IDE Eclipse IDE

Install Eclipse IDE via Snap on Ubuntu

Snap is a software deployment and package management system to manage packages on Linux distribution, you can use Snap to install Eclipse IDE on Ubuntu 18.04 or newer using the following commands.

$ sudo apt install snapd $ sudo snap install --classic eclipse

After installing Eclipse, navigate to the Activities Overview and search for Eclipse and launch it…

That’s all! The latest version of Eclipse IDE is now installed in your system. Enjoy programming with Eclipse IDE.

Источник

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:

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.

Читайте также:  Nvidia 6600 linux driver

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.

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.

Источник

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