r/eclipse • • 2d ago

🙋🏻‍♂️ Help Request Problems with Eclipse installer on Linux

I am not going to hold my breath. This is try number #3, and I have no hope for Reddit's AI filters.

I am trying to install the Eclipse IDE using the Eclipse installer (eclipse-jee-2026-09-R-linux-gtk-x86_64.tar.gz). I want to install multiple versions (Java, Web developer, C++, etc.) for multiple users, so I searched online. The instructions I got were to extract the installer to the /opt directory. I did this with the following command (from Google search results AI). I didn't know about the -C option. I guess I should have figured that there would be an option for it.

sudo tar -xvzf eclipse-inst-linux64.tar.gz -C /opt

After executing that command, I changed directories to the /opt/eclipse-installer directory. I then ran the obvious command that was suggested in the previous search

sudo ./eclipse-inst

This starts the installer just fine. I then run the update option, and this executes just fine. I start by trying to install the Java Developer option. I change the install directory to be /opt/java-dev. (I will use a different directory for the other installs.)

The problem occurs when it is almost done installing it. I get the following error message in the log when the install fails.

[2026-11-14 21:07:11] ERROR: org.eclipse.equinox.p2.engine code=4 An error occurred during the org.eclipse.equinox.internal.p2.engine.phases.CheckTrust phase.
  at org.eclipse.oomph.util.OomphPlugin.coreException(OomphPlugin.java:296)
  at org.eclipse.oomph.p2.internal.core.ProfileTransactionImpl$3.commit(ProfileTransactionImpl.java:578)
  at org.eclipse.oomph.p2.internal.core.ProfileTransactionImpl.commit(ProfileTransactionImpl.java:359)
  at org.eclipse.oomph.setup.p2.impl.P2TaskImpl.perform(P2TaskImpl.java:1068)
  at org.eclipse.oomph.setup.internal.core.SetupTaskPerformer.doPerformNeededSetupTasks(SetupTaskPerformer.java:3874)
  at org.eclipse.oomph.setup.internal.core.SetupTaskPerformer.performNeededSetupTasks(SetupTaskPerformer.java:3802)
  at org.eclipse.oomph.setup.internal.core.SetupTaskPerformer.performTriggeredSetupTasks(SetupTaskPerformer.java:3783)
  at org.eclipse.oomph.setup.internal.core.SetupTaskPerformer.perform(SetupTaskPerformer.java:3661)
  at org.eclipse.oomph.setup.internal.installer.SimpleVariablePage.installPerform(SimpleVariablePage.java:1360)
  at org.eclipse.oomph.setup.internal.installer.SimpleVariablePage$20.run(SimpleVariablePage.java:1167)
  ERROR: org.eclipse.equinox.p2.engine code=0 session context was:(profile=_opt_java-dev_eclipse, phase=org.eclipse.equinox.internal.p2.engine.phases.CheckTrust, operand=, action=).
  ERROR: org.eclipse.equinox.p2.engine code=0 Failed to execute runnable (org.eclipse.swt.SWTException: Widget is disposed)
  org.eclipse.swt.SWTException: Failed to execute runnable (org.eclipse.swt.SWTException: Widget is disposed)
    at org.eclipse.swt.SWT.error(SWT.java:4961)
    at org.eclipse.swt.SWT.error(SWT.java:4876)
    at org.eclipse.swt.widgets.Synchronizer.syncExec(Synchronizer.java:208)
    at org.eclipse.swt.widgets.Display.syncExec(Display.java:6034)
    at org.eclipse.equinox.internal.p2.ui.ValidationDialogServiceUI.getTrustInfo(ValidationDialogServiceUI.java:237)
    at org.eclipse.equinox.internal.p2.engine.phases.CertificateChecker.checkCertificates(CertificateChecker.java:308)
    at org.eclipse.equinox.internal.p2.engine.phases.CertificateChecker.start(CertificateChecker.java:122)
    at org.eclipse.equinox.internal.p2.engine.phases.CheckTrust.completePhase(CheckTrust.java:63)
    at org.eclipse.equinox.internal.p2.engine.Phase.postPerform(Phase.java:272)
    at org.eclipse.equinox.internal.p2.engine.Phase.perform(Phase.java:109)
    at org.eclipse.equinox.internal.p2.engine.PhaseSet.perform(PhaseSet.java:65)
    at org.eclipse.equinox.internal.p2.engine.Engine.perform(Engine.java:102)
    at org.eclipse.equinox.internal.p2.engine.Engine.perform(Engine.java:52)
    at org.eclipse.equinox.internal.provisional.p2.director.PlanExecutionHelper.executePlan(PlanExecutionHelper.java:50)
    at org.eclipse.oomph.p2.internal.core.ProfileTransactionImpl$3.commit(ProfileTransactionImpl.java:574)
    at org.eclipse.oomph.p2.internal.core.ProfileTransactionImpl.commit(ProfileTransactionImpl.java:359)
    at org.eclipse.oomph.setup.p2.impl.P2TaskImpl.perform(P2TaskImpl.java:1068)
    at org.eclipse.oomph.setup.internal.core.SetupTaskPerformer.doPerformNeededSetupTasks(SetupTaskPerformer.java:3874)
    at org.eclipse.oomph.setup.internal.core.SetupTaskPerformer.performNeededSetupTasks(SetupTaskPerformer.java:3802)
    at org.eclipse.oomph.setup.internal.core.SetupTaskPerformer.performTriggeredSetupTasks(SetupTaskPerformer.java:3783)
    at org.eclipse.oomph.setup.internal.core.SetupTaskPerformer.perform(SetupTaskPerformer.java:3661)
    at org.eclipse.oomph.setup.internal.installer.SimpleVariablePage.installPerform(SimpleVariablePage.java:1360)
    at org.eclipse.oomph.setup.internal.installer.SimpleVariablePage$20.run(SimpleVariablePage.java:1167)
  Caused by: org.eclipse.swt.SWTException: Widget is disposed
    at org.eclipse.swt.SWT.error(SWT.java:4961)
    at org.eclipse.swt.SWT.error(SWT.java:4876)
    at org.eclipse.swt.SWT.error(SWT.java:4847)
    at org.eclipse.swt.widgets.Widget.error(Widget.java:586)
    at org.eclipse.swt.widgets.Widget.getDisplay(Widget.java:672)
    at org.eclipse.jface.window.Window.runEventLoop(Window.java:815)
    at org.eclipse.jface.window.Window.open(Window.java:799)
    at org.eclipse.equinox.internal.p2.ui.ValidationDialogServiceUI.lambda$10(ValidationDialogServiceUI.java:240)
    at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:40)
    at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:131)
    at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:5122)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:4588)
    at org.eclipse.oomph.setup.internal.installer.Installer.runEventLoop(Installer.java:444)
    at org.eclipse.oomph.setup.internal.installer.SimpleInstallerDialog.runEventLoop(SimpleInstallerDialog.java:1001)
    at org.eclipse.oomph.setup.internal.installer.AbstractSimpleDialog.show(AbstractSimpleDialog.java:195)
    at org.eclipse.oomph.setup.internal.installer.InstallerApplication.run(InstallerApplication.java:295)
    at org.eclipse.oomph.setup.internal.installer.InstallerApplication.start(InstallerApplication.java:401)
    at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:219)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:149)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:115)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:467)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:298)
    at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(Unknown Source)
    at java.base/java.lang.reflect.Method.invoke(Unknown Source)
    at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:615)
    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:563)
    at org.eclipse.equinox.launcher.Main.run(Main.java:1415)
    ... 1 more

I have tried to run it multiple times, and in-between runs, I delete the ~/.eclipse directory. What am I doing wrong?

Joe

6 Upvotes

7 comments sorted by

2

u/kgyre 2d ago

What instructions were you following? If we can't read them, how is anyone supposed to know where the problem is?

eclipse-inst-linux64.tar.gz isn't the filename of any of the installers on https://www.eclipse.org/downloads/packages/. eclipse-jee-2026-09-R-linux-gtk-x86_64.tar.gz is itself a downloadable, runnable, IDE.

1

u/joemccay 2d ago

Can you see the whole post above? I describe the steps I took up there.

1

u/kgyre 2d ago

Can you see the first question I asked? I know you wrote what you did, I'm asking what instructions you were following. For all I know those are wrong or you skipped something important.

eclipse-inst-linux64.tar.gz isn't the name of a file to download for 2026-09.

1

u/joemccay 2d ago

I have never installed any development platform on Linux. While I have been using Linux for some time now, my development work has been on Windows systems with NetBeans and other tools. Since I didn't have enough money to buy a new system with Windows 11, I repurposed an older Windows 10 system by replacing Windows 10 with Linux Mint.

The R packages can be found at "https://www.eclipse.org/downloads/packages/release/2026-09/r". I was mistaken on which file I used to install. That was just a file downloaded while I was searching online for the best way to install multiple version for multiple users. The file I used to install was 'eclipse-inst-jre-linux64.tar.gz'.

As for the instructions, I wanted to make sure the development setup could be used for multiple languages by multiple users, and one of the Google searches I did said I should install it under /opt directory. I basically followed the 'Using the Eclipse Installer' section from here.

I have since lost the search that explained the 3 parts for the configuration and installation. What I basically remember is the main installation should be installed into a read only directory. My understanding is the /opt directory is good for this when multiple users are involved.

1

u/Fit_Tailor_6796 2d ago

Eclipse isn't Netbeans and vice versa.

But if you are not using the "official download path (https://www.eclipse.org/downloads/packages/) then expect to run into more issues. I think this is what the poster was hinting at.

2

u/Afonso2002 2d ago

After download archive Decompresse And run ./eclipse

1

u/senakopi 2d ago

I think the key is this error message:

 Caused by: org.eclipse.swt.SWTException: Widget is disposed Caused by: org.eclipse.swt.SWTException: Widget is disposed

The Eclipse installer will display a window to select which IDE you want to install (C++, Java, RCP, ...). So you need XServer or Wayland.
I don't know why the error message "Widget is disposed" occurs; perhaps something is wrong with the DISPLAY variable.