SWT Browser & Eclipse

后端 未结 6 2021
耶瑟儿~
耶瑟儿~ 2020-12-16 19:51

On my Arch Linux, Eclipse with Google Window Builder/SWT application, I am getting

Exception in thread \"main\" org.eclipse.swt.SWTError: No more handles [U         


        
6条回答
  •  情歌与酒
    2020-12-16 20:41

    This steps worked for me with STS 2.9.2 based on Eclipse 3.7.2 (Ubuntu 12.04 - 64bits):

    1. Install Google plugin for Eclipse using this update site: http://dl.google.com/eclipse/plugin/3.7. I just wanted to use GWT, so I only checked "Google plugin for Eclipse", "GWT Designer for GPE" and "SDKs".
    2. Restart Eclipse and verify that trying to design a GWT UIBinder view with WindowBuilder fails showing an error related to xulrunner.
    3. Close Eclipse.
    4. Install required packages (inspired by http://elgali.net/2012/05/14/gwt-designer-eclipse-plugin-in-ubuntu-12-04/)
      • sudo apt-get install libicu48
      • sudo apt-get install libwebkitgtk-1.0-common
      • sudo apt-get install libwebkitgtk-1.0-0
    5. Start Eclipse again and check that WindowBuilder Desing view works!

提交回复
热议问题