Install GWT Designer (now a free tool from Google) into Eclipse 3.6 (Helios)

Post to Twitter

This will be a quick short article to go over the steps to install the new GWT Designer. I have done a few tutorials on using the GWT Designer (formerly by Instantiations, now owned by Google) and will be updating the old Stock Watcher tutorial soon (Update: The new tutorial is now posted). This article will help to ensure your system is setup for the new GWT Designer tutorial.


On my system I have the Eclipse IDE for Java EE Developers 3.6 (Helios). If your using Eclipse 3.5 or 3.4 you will need to ensure you use the correct links to install the GWT Designer software.

Fire up Eclipse 3.6 and then go into the menu and select: Help -> Install New Software

Click on the “Add” button so we can add the appropriate repository. You can get a list from here (adjust as needed if your not using Eclipse 3.6).

Select all the options that show up and finish the wizard with the defaults.

It will take a little time to download and install everything so be patient. Once that is done Eclipse will ask you to restart. Allow Eclipse to do this and wait for it to come back up.

Once Eclipse is back up and running go into the menu and select: Window -> Preferences

Go into the “GWT” settings and make sure to set the GWT_HOME variable to the correct path for where you downloaded the GWT SDK to. Since I already have the Google Eclipse Plug-in installed I simply pointed it to the GWT SDK that is already in my Eclipse plug-ins folder.

Thats all you need to do.

Post to Twitter

This entry was posted in GWT, Java. Bookmark the permalink.

11 Responses to Install GWT Designer (now a free tool from Google) into Eclipse 3.6 (Helios)

  1. homer says:

    genius

  2. Pingback: GWT Designer is now free! Yippee! | Lost In Transition

  3. p4ink says:

    thank you very much.

    new to gwt, I really appreciate your tutorials.

    keep up with the good work.

  4. sam says:

    hiو
    How to install offline GWT?
    Thank you

  5. sam says:

    Chad,

    Thanks for the links.
    But I also want to install Offline GWT Designer
    Please help me

    Thanks again for a great tutorial

  6. Chad Lung says:

    @Sam,

    I wasn’t able to find the “zip” download links, they have a thread about this here:
    http://forums.instantiations.com/viewtopic.php?f=11&t=5309

    You might want to post in their forums to see where the latest zip archives are.

    Chad

  7. Pingback: A simple example using the GWT DockLayoutPanel with UiBinder | Giant Flying Saucer

  8. Pingback: Install GWT Designer into Eclipse - Java Tutorial

  9. Faber says:

    Hi when I launch designer on the tab design, have the following error

    Internal Error
    GWT Designer encountered unexpected internal error.

    This could be caused by a GWT Designer bug or by a misconfiguration issue, conflict, partial update, etc.

    java.lang.NoSuchMethodError: org.osgi.framework.Version.compareTo(Lorg/osgi/framework/Version;)I

    Show stack trace.
    Hide stack trace.

    Stack trace:
    java.lang.NoSuchMethodError: org.osgi.framework.Version.compareTo(Lorg/osgi/framework/Version;)I
    at org.eclipse.pde.internal.core.plugin.PluginBase.getMatchRule(PluginBase.java:359)
    at org.eclipse.pde.internal.core.plugin.PluginImport.load(PluginImport.java:112)
    at org.eclipse.pde.internal.core.plugin.PluginBase.loadImports(PluginBase.java:189)
    at org.eclipse.pde.internal.core.plugin.PluginBase.load(PluginBase.java:113)
    at org.eclipse.pde.internal.core.plugin.Plugin.load(Plugin.java:43)
    at org.eclipse.pde.internal.core.plugin.AbstractPluginModelBase.load(AbstractPluginModelBase.java:88)
    at org.eclipse.pde.internal.core.plugin.ExternalPluginModelBase.load(ExternalPluginModelBase.java:70)
    at org.eclipse.pde.internal.core.PDEState.createExternalModel(PDEState.java:352)
    at org.eclipse.pde.internal.core.PDEState.createTargetModels(PDEState.java:203)
    at org.eclipse.pde.internal.core.PDEState.(PDEState.java:109)
    at org.eclipse.pde.internal.core.PluginModelManager.initializeTable(PluginModelManager.java:512)
    at org.eclipse.pde.internal.core.PluginModelManager.findModel(PluginModelManager.java:901)
    at org.eclipse.pde.core.plugin.PluginRegistry.findModel(PluginRegistry.java:110)
    at org.eclipse.wb.internal.core.utils.jdt.core.CodeUtils.addSourceContainers(CodeUtils.java:802)
    at org.eclipse.wb.internal.core.utils.jdt.core.CodeUtils.addSourceContainers(CodeUtils.java:826)
    at org.eclipse.wb.internal.core.utils.jdt.core.CodeUtils.addSourceContainers(CodeUtils.java:797)
    at org.eclipse.wb.internal.core.utils.jdt.core.CodeUtils.getSourceContainers(CodeUtils.java:757)
    at com.google.gdt.eclipse.designer.util.Utils.getFilesForResources(Utils.java:635)
    at com.google.gdt.eclipse.designer.util.Utils.getFileForResource(Utils.java:614)
    at com.google.gdt.eclipse.designer.util.Utils.getHTMLFile_web(Utils.java:1004)
    at com.google.gdt.eclipse.designer.util.Utils.getHTMLFile(Utils.java:951)
    at com.google.gdt.eclipse.designer.util.Utils.getDocType(Utils.java:810)
    at com.google.gdt.eclipse.designer.model.widgets.support.GwtState.initialize(GwtState.java:163)
    at com.google.gdt.eclipse.designer.parser.ParseFactory.getClassLoader(ParseFactory.java:412)
    at org.eclipse.wb.internal.core.parser.AbstractParseFactory.initializeClassLoader(AbstractParseFactory.java:732)
    at com.google.gdt.eclipse.designer.parser.ParseFactory.getRootContext(ParseFactory.java:103)
    at org.eclipse.wb.internal.core.parser.JavaInfoParser.prepareParseContext(JavaInfoParser.java:1185)
    at org.eclipse.wb.internal.core.parser.JavaInfoParser.parse(JavaInfoParser.java:244)
    at org.eclipse.wb.internal.core.parser.JavaInfoParser.access$9(JavaInfoParser.java:240)
    at org.eclipse.wb.internal.core.parser.JavaInfoParser$1.runObject(JavaInfoParser.java:153)
    at org.eclipse.wb.internal.core.parser.JavaInfoParser$1.runObject(JavaInfoParser.java:1)
    at org.eclipse.wb.internal.core.utils.execution.ExecutionUtils.runDesignTime(ExecutionUtils.java:153)
    at org.eclipse.wb.internal.core.parser.JavaInfoParser.parse(JavaInfoParser.java:151)
    at org.eclipse.wb.internal.core.editor.DesignPage.internal_refreshGEF(DesignPage.java:512)
    at org.eclipse.wb.internal.core.editor.DesignPage.access$9(DesignPage.java:500)
    at org.eclipse.wb.internal.core.editor.DesignPage$8$1.run(DesignPage.java:433)
    at org.eclipse.swt.widgets.Synchronizer.syncExec(Synchronizer.java:179)
    at org.eclipse.ui.internal.UISynchronizer.syncExec(UISynchronizer.java:150)
    at org.eclipse.swt.widgets.Display.syncExec(Display.java:4584)
    at org.eclipse.wb.internal.core.editor.DesignPage$8.run(DesignPage.java:430)
    at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:464)
    at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:372)
    at org.eclipse.jface.dialogs.ProgressMonitorDialog.run(ProgressMonitorDialog.java:507)
    at org.eclipse.wb.internal.core.editor.DesignPage.internal_refreshGEF_withProgress(DesignPage.java:449)
    at org.eclipse.wb.internal.core.editor.DesignPage.internal_refreshGEF(DesignPage.java:399)
    at org.eclipse.wb.internal.core.editor.UndoManager.refreshDesignerEditor(UndoManager.java:381)
    at org.eclipse.wb.internal.core.editor.UndoManager.activate(UndoManager.java:90)
    at org.eclipse.wb.internal.core.editor.DesignPage.handleActiveState_True(DesignPage.java:247)
    at org.eclipse.wb.internal.core.editor.DesignPage.handleActiveState(DesignPage.java:225)
    at org.eclipse.wb.internal.core.editor.multi.DefaultMultiMode.showPage(DefaultMultiMode.java:125)
    at org.eclipse.wb.internal.core.editor.multi.DefaultMultiMode$1.widgetSelected(DefaultMultiMode.java:63)
    at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:234)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1077)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1062)
    at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:774)
    at org.eclipse.swt.custom.CTabFolder.setSelection(CTabFolder.java:2743)
    at org.eclipse.swt.custom.CTabFolder.onMouse(CTabFolder.java:1429)
    at org.eclipse.swt.custom.CTabFolder$1.handleEvent(CTabFolder.java:257)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053)
    at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4066)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3657)
    at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2640)
    at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2604)
    at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2438)
    at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:671)
    at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:664)
    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
    at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:115)
    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:369)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:620)
    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:575)
    at org.eclipse.equinox.launcher.Main.run(Main.java:1408)

    Full context stack trace:
    java.lang.NoSuchMethodError: org.osgi.framework.Version.compareTo(Lorg/osgi/framework/Version;)I
    at org.eclipse.pde.internal.core.plugin.PluginBase.getMatchRule(PluginBase.java:359)
    at org.eclipse.pde.internal.core.plugin.PluginImport.load(PluginImport.java:112)
    at org.eclipse.pde.internal.core.plugin.PluginBase.loadImports(PluginBase.java:189)
    at org.eclipse.pde.internal.core.plugin.PluginBase.load(PluginBase.java:113)
    at org.eclipse.pde.internal.core.plugin.Plugin.load(Plugin.java:43)
    at org.eclipse.pde.internal.core.plugin.AbstractPluginModelBase.load(AbstractPluginModelBase.java:88)
    at org.eclipse.pde.internal.core.plugin.ExternalPluginModelBase.load(ExternalPluginModelBase.java:70)
    at org.eclipse.pde.internal.core.PDEState.createExternalModel(PDEState.java:352)
    at org.eclipse.pde.internal.core.PDEState.createTargetModels(PDEState.java:203)
    at org.eclipse.pde.internal.core.PDEState.(PDEState.java:109)
    at org.eclipse.pde.internal.core.PluginModelManager.initializeTable(PluginModelManager.java:512)
    at org.eclipse.pde.internal.core.PluginModelManager.findModel(PluginModelManager.java:901)
    at org.eclipse.pde.core.plugin.PluginRegistry.findModel(PluginRegistry.java:110)
    at org.eclipse.wb.internal.core.utils.jdt.core.CodeUtils.addSourceContainers(CodeUtils.java:802)
    at org.eclipse.wb.internal.core.utils.jdt.core.CodeUtils.addSourceContainers(CodeUtils.java:826)
    at org.eclipse.wb.internal.core.utils.jdt.core.CodeUtils.addSourceContainers(CodeUtils.java:797)
    at org.eclipse.wb.internal.core.utils.jdt.core.CodeUtils.getSourceContainers(CodeUtils.java:757)
    at com.google.gdt.eclipse.designer.util.Utils.getFilesForResources(Utils.java:635)
    at com.google.gdt.eclipse.designer.util.Utils.getFileForResource(Utils.java:614)
    at com.google.gdt.eclipse.designer.util.Utils.getHTMLFile_web(Utils.java:1004)
    at com.google.gdt.eclipse.designer.util.Utils.getHTMLFile(Utils.java:951)
    at com.google.gdt.eclipse.designer.util.Utils.getDocType(Utils.java:810)
    at com.google.gdt.eclipse.designer.model.widgets.support.GwtState.initialize(GwtState.java:163)
    at com.google.gdt.eclipse.designer.parser.ParseFactory.getClassLoader(ParseFactory.java:412)
    at org.eclipse.wb.internal.core.parser.AbstractParseFactory.initializeClassLoader(AbstractParseFactory.java:732)
    at com.google.gdt.eclipse.designer.parser.ParseFactory.getRootContext(ParseFactory.java:103)
    at org.eclipse.wb.internal.core.parser.JavaInfoParser.prepareParseContext(JavaInfoParser.java:1185)
    at org.eclipse.wb.internal.core.parser.JavaInfoParser.parse(JavaInfoParser.java:244)
    at org.eclipse.wb.internal.core.parser.JavaInfoParser.access$9(JavaInfoParser.java:240)
    at org.eclipse.wb.internal.core.parser.JavaInfoParser$1.runObject(JavaInfoParser.java:153)
    at org.eclipse.wb.internal.core.parser.JavaInfoParser$1.runObject(JavaInfoParser.java:1)
    at org.eclipse.wb.internal.core.utils.execution.ExecutionUtils.runDesignTime(ExecutionUtils.java:153)
    at org.eclipse.wb.internal.core.parser.JavaInfoParser.parse(JavaInfoParser.java:151)
    at org.eclipse.wb.internal.core.editor.DesignPage.internal_refreshGEF(DesignPage.java:512)
    at org.eclipse.wb.internal.core.editor.DesignPage.access$9(DesignPage.java:500)
    at org.eclipse.wb.internal.core.editor.DesignPage$8$1.run(DesignPage.java:433)
    at org.eclipse.swt.widgets.Synchronizer.syncExec(Synchronizer.java:179)
    at org.eclipse.ui.internal.UISynchronizer.syncExec(UISynchronizer.java:150)
    at org.eclipse.swt.widgets.Display.syncExec(Display.java:4584)
    at org.eclipse.wb.internal.core.editor.DesignPage$8.run(DesignPage.java:430)
    at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:464)
    at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:372)
    at org.eclipse.jface.dialogs.ProgressMonitorDialog.run(ProgressMonitorDialog.java:507)
    at org.eclipse.wb.internal.core.editor.DesignPage.internal_refreshGEF_withProgress(DesignPage.java:449)
    at org.eclipse.wb.internal.core.editor.DesignPage.internal_refreshGEF(DesignPage.java:399)
    at org.eclipse.wb.internal.core.editor.UndoManager.refreshDesignerEditor(UndoManager.java:381)
    at org.eclipse.wb.internal.core.editor.UndoManager.activate(UndoManager.java:90)
    at org.eclipse.wb.internal.core.editor.DesignPage.handleActiveState_True(DesignPage.java:247)
    at org.eclipse.wb.internal.core.editor.DesignPage.handleActiveState(DesignPage.java:225)
    at org.eclipse.wb.internal.core.editor.multi.DefaultMultiMode.showPage(DefaultMultiMode.java:125)
    at org.eclipse.wb.internal.core.editor.multi.DefaultMultiMode$1.widgetSelected(DefaultMultiMode.java:63)
    at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:234)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1077)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1062)
    at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:774)
    at org.eclipse.swt.custom.CTabFolder.setSelection(CTabFolder.java:2743)
    at org.eclipse.swt.custom.CTabFolder.onMouse(CTabFolder.java:1429)
    at org.eclipse.swt.custom.CTabFolder$1.handleEvent(CTabFolder.java:257)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053)
    at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4066)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3657)
    at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2640)
    at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2604)
    at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2438)
    at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:671)
    at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:664)
    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
    at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:115)
    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:369)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:620)
    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:575)
    at org.eclipse.equinox.launcher.Main.run(Main.java:1408)

  10. Chad Lung says:

    @Faber,

    Sounds like it didn’t install properly and is missing a dependency or two. Clean it up (remove whats not needed) and try again. If that fails, grab Eclipse and extract it somewhere as a second install of Eclipse and install it into that new clean one.

    Chad

Comments are closed.