facebook

Can not start myeclipse from the command line

  1. MyEclipse IDE
  2.  > 
  3. Installation, Configuration & Updates
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #487592 Reply

    eugenejsn
    Participant

    MyEclipse PRO 2014
    OS: SUSE Linux 12

    Try to start MyEclipse from command line (SUSE Linux)

    ./MyEclipsePro2014/myeclipse

    ERROR MESSAGE

    Myeclipse: Cannot open display:
    Myeclipse: Cannot open display:
    Myeclipse:
    An error has occurred. See the log file
    /home/jboss/MyEclipsePro2014/configuration/1467223179210.log.

    [1467223179210.log file]
    !SESSION 2016-06-29 17:59:38.949 ———————————————–
    eclipse.buildId=unknown
    java.version=1.7.0_45
    java.vendor=Oracle Corporation
    BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
    Command-line arguments: -os linux -ws gtk -arch x86_64

    !ENTRY org.eclipse.osgi 4 0 2016-06-29 17:59:41.283
    !MESSAGE Application error
    !STACK 1
    org.eclipse.swt.SWTError: No more handles [gtk_init_check() failed]
    at org.eclipse.swt.SWT.error(SWT.java:4423)
    at org.eclipse.swt.widgets.Display.createDisplay(Display.java:925)
    at org.eclipse.swt.widgets.Display.create(Display.java:909)
    at org.eclipse.swt.graphics.Device.<init>(Device.java:156)
    at org.eclipse.swt.widgets.Display.<init>(Display.java:507)
    at org.eclipse.swt.widgets.Display.<init>(Display.java:498)
    at org.eclipse.ui.internal.Workbench.createDisplay(Workbench.java:691)
    at org.eclipse.ui.PlatformUI.createDisplay(PlatformUI.java:162)
    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:354)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:181)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:606)
    at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:636)
    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:591)
    at org.eclips e.equinox.launcher.Main.run(Main.java:1450)
    at org.eclipse.equinox.launcher.Main.main(Main.java:1426)

    Why can’t I start the myeclipse from the command line?

    Eugene

    #487661

    support-swapna
    Moderator

    Eugene,

    Sorry that you are seeing this issue.The message no more handles indicates that the DISPLAY variable is not set. So there needs to be a working display for the Eclipse/MyEclipse IDE to display itself on and the DISPLAY variable needs to be set.

    Do you see the workspace selection dialog when starting MyEclipse from command line?
    Can you please set the DISPLAY option in Linux and check if it fixes the issue? Please also check if you have installed the correct version of GTK.

    Please also check these threads which discuss similar issue and see if the suggestions help :
    http://unix.stackexchange.com/questions/94497/org-eclipse-swt-swterror-no-more-handles-gtk-init-check-failed-while-runnin
    http://superuser.com/questions/918698/open-eclipse-with-a-linux-user-that-doesnt-have-graphical-environment-created

    Please also check in Eclipse/Linux forums for more suggestions.

    Let us know how it works.

    –Swapna
    MyEclipse Support

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: Can not start myeclipse from the command line

You must be logged in to post in the forum log in