• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[SOLVED] Running Eclipse inside Docker
#3
But let me ask you this about "Eclipse" in general: For me "Eclipse" is a workbench you usually control via a mouse and keyboard over a Desktop? Is my understanding correct?

So on your hosting RPI - where you say the installation works fine - which version of Raspbian are you running? Raspbian Stretch light or Raspian Desktop?

I did the same thing in your raspbian/strecht container and got exactly the same thing. When eclipse is failing starting it creates a log file.

This is the one I get:

org.eclipse.swt.SWTError: No more handles [gtk_init_check() failed]
        at org.eclipse.swt.SWT.error(SWT.java:4387)
        at org.eclipse.swt.widgets.Display.createDisplay(Display.java:914)
        at org.eclipse.swt.widgets.Display.create(Display.java:900)
        at org.eclipse.swt.graphics.Device.<init>(Device.java:156)
        at org.eclipse.swt.widgets.Display.<init>(Display.java:498)
        at org.eclipse.swt.widgets.Display.<init>(Display.java:489)
        at org.eclipse.ui.internal.Workbench.createDisplay(Workbench.java:716)
        at org.eclipse.ui.PlatformUI.createDisplay(PlatformUI.java:161)
        at org.eclipse.ui.internal.ide.application.IDEApplication.createDisplay(IDEApplication.java:154)
        at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:96)
        at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
        at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
        at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
        at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:353)
        at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:180)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:629)
        at org.eclipse.equinox.launcher.Main.basicRun(Main.java:584)
        at org.eclipse.equinox.launcher.Main.run(Main.java:1438)
        at org.eclipse.equinox.launcher.Main.main(Main.java:1414)

Looking on the internet for the error "org.eclipse.swt.SWTError: No more handles [gtk_init_check() failed]" I found that the java application has not found any graphical display and hence cannot be started. So my assumption is that your base image "raspbian/stretch" is no image with display/desktop function


Thx
Armin
You never fail until you stop trying.“, Albert Einstein (1879 - 1955)

  Reply


Messages In This Thread
[SOLVED] Running Eclipse inside Docker - by Rahulsagar - January-13th-2019, 02:27 PM
RE: Running Eclipse inside Docker - by Armin@netPI - January-13th-2019, 04:46 PM
RE: Running Eclipse inside Docker - by Armin@netPI - January-13th-2019, 07:12 PM
RE: Running Eclipse inside Docker - by Armin@netPI - January-14th-2019, 08:18 AM
RE: [SOLVED] Running Eclipse inside Docker - by Rahulsagar - January-18th-2019, 07:44 PM
RE: [SOLVED] Running Eclipse inside Docker - by Armin@netPI - January-19th-2019, 08:33 PM
RE: [SOLVED] Running Eclipse inside Docker - by Rahulsagar - January-21st-2019, 04:03 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  https certificate issues in new nodered docker image Dipro 1 1,771 May-4th-2022, 05:46 AM
Last Post: Armin@netPI
  Docker exposed port don't send data on eth0 COswald 3 3,285 July-15th-2021, 02:10 PM
Last Post: Armin@netPI
  Docker not enabled tad 10 5,149 July-14th-2021, 08:54 AM
Last Post: Armin@netPI
  Docker amd64 instead of arm biancode 3 3,174 January-17th-2021, 09:40 PM
Last Post: Armin@netPI
  docker.service start failed EUROKEY 13 9,674 January-17th-2021, 07:52 PM
Last Post: Armin@netPI
  Get host MAC via REST API inside container bschandra 4 3,835 November-16th-2020, 09:26 AM
Last Post: bschandra
  Docker cannot find image COswald 16 9,484 May-18th-2020, 07:15 AM
Last Post: COswald
  After „Rebuild“ of Docker neither the node-RED nor the dashboard can be accessed MAK 4 4,487 January-31st-2020, 02:14 PM
Last Post: MAK
  [SOLVED] Docker GUI login issue MGharat 1 2,862 September-19th-2019, 11:50 AM
Last Post: Armin@netPI
  [SOLVED] Help with fieldbus node Farani 5 4,191 August-20th-2019, 07:22 AM
Last Post: Armin@netPI

Forum Jump:


Users browsing this thread: 1 Guest(s)