Google Plugin for Eclipse

FAQ

I tried to install from the update site, but Eclipse wasn't able to find it. I got the message "No repository found..." What's going on?

First, verify that your update site URL is correct for the version of Eclipse that you're using:

Eclipse 4.3 (Kepler)

https://dl.google.com/eclipse/plugin/4.3

Eclipse 3.8/4.2 (Juno)

https://dl.google.com/eclipse/plugin/4.2

Eclipse 3.7 (Indigo)

https://dl.google.com/eclipse/plugin/3.7

If you're sure that you typed the correct version, you may be behind a firewall that prevents Eclipse from reaching the update site (this is the case in some corporate environments). If there's a proxy server available, try configuring Eclipse to use the proxy via the instructions for Eclipse 4.3, Eclipse 4.2, or Eclipse 3.7. If you are still unable to reach the update site, you can try installing the Google Plugin for Eclipse from zip files.

After installing/updating the plugin on a multi-user install of Eclipse, I cannot see any of the plugin's toolbar icons. What's going on?

Multi-user installs of Eclipse are those where the adminstrator of the machine has performed the installation of Eclipse, and non-administrators (users) run Eclipse.

Unfortunately, Eclipse suffers from problems whenever a user upgrades a plugin that exists as part of the base installation; the upgraded plugin is not recognized, which means that any plugins that depend on the upgraded component will not work. When installing the Google Plugin for Eclipse as a user, it may cause Eclipse to try and install updates for already-installed plugins at the same time, which leads to the Google Plugin for Eclipse not working after the install process.

There are two ways to avoid this problem:

  • Each user should have their own install of Eclipse
  • The administrator should be the only one who installs or upgrades plugins

If you have already installed/upgraded the Google Plugin for Eclipse and are stuck in a broken state, the easiest way to get back to a working state is to remove your <homedir>/.eclipse/org.eclipse.platform_<eclipse.version> directory, and perform the install/upgrade of the Google Plugin for Eclipse as an administrator. Note that by deleting this directory, you will be removing any plugins that the user had previously installed.

What is DataNucleus Enhancer? Can I turn it off?

If you're not using App Engine ORM in your project (for example, if you don't store any data on the server) you can turn off the DataNucleus Enhancer by right-clicking on your project and selecting Properties > Google > App Engine. Uncheck Use Datanucleus JDO/JPA to access the datastore.. You can turn it on again later if you start using ORM with your project.

When I refresh my web browser after making code changes, why does Eclipse bring up a dialog with the message "Hot code replace failed"?

The Eclipse IDE can sometimes have trouble detecting that code has been hot-swapped by the development mode infrastructure's ClassLoader, even though development mode's design guarantees that the code is correctly hot swapped on refresh. You can therefore safely ignore this dialog message if it comes up while refreshing code in the browser.

If you discover that the code really wasn't refreshed in the browser after seeing this hot code replacement error message, please let us know by filing an issue on the GWT Issue Tracker.

On Windows, I see the error "Cannot run program ...\javaw.exe CreateProcess error=..." whenever my project builds. How do I fix this?

This problem occurs because the ORM enhancer process is invoked with the list of classes to be enhanced (by default, this is all classes in the project). If the command line to execute the enhancer is too long, Windows will prevent the execution of the process.

If your project is not using ORM, see the FAQ Entry "What is DataNucleus Enhancer? Can I turn it off?" to disable the enhancer.

If your project is using ORM, right-click on your project and choose Properties > Google > App Engine > ORM, and select only the files and folders of the classes which make use of ORM.

To use the Java 1.6 style, navigate to your workspace's JDK Compliance settings, under Window > Preferences > Java > Compiler (or Eclipse > Preferences on the Mac). Set Eclipse's "Compiler Compliance Level" to 1.6.

My JSPs aren't working, and there's an error that says "Your Web Application Project must be configured to use a JDK in order to use JSPs." What happened?

Both the local App Engine server and the deployment process need to run javac in order to compile your JSPs. If your project isn't set to use a JDK ("Java Development Kit", which includes javac), then the JSPs can't be compiled.

Go to Preferences > Java > Installed JREs and make sure that you have a JDK installed -- if you don't, you can easily download one. Now right-click on your project and choose Properties > Java Build Path > Libraries and make sure that your project is using this JDK.

Where are the bundled SDKs installed?

The bundled SDKs are in your Eclipse plugins directory, underneath com.google.gwt.eclipse.sdkbundle_version for GWT, and com.google.appengine.eclipse.sdkbundle_version for App Engine.

I renamed my project and syntax highlighting turned off. What happened?

This is a known issue with the current version of the plugin. In the meantime, you can work around it by removing and re-importing your project from the Eclipse workspace. To remove it, right-click the project, choose Delete, and click OK.

Warning: Make sure to leave the Delete project contents on disk box unchecked!

Now re-import your project by choosing File > Import > General > Existing Projects into Workspace.

I clicked the "My applications" or "Existing versions" links on the App Engine Properties screen, but nothing happened. Why?

These links should point your web browser to appspot.com, but on some systems, Eclipse may not be able to find your web browser. You can set which browser you would like to use by navigating to Preferences > General > Web Browser.

Is the Google Plugin for Eclipse open-source?

It is. A snapshot of the code is located Google Plugin for Eclipse code repository. However, we're planning on moving a continuously-updated version to GitHub.

How do I uninstall the Google Plugin for Eclipse?

You can uninstall the Google Plugin for Eclipse the same way you might uninstall any other Eclipse plugin. Instructions can be found on the Eclipse FAQ.

I have feedback about the plugin, a feature idea, or a problem that isn't covered by the documentation. Where can I discuss it?

There are a number of ways you can contact the plugin team and other developers using Google Plugin for Eclipse. Check out the Community Resources page to find out how. We look forward to hearing from you!

Authentication required

You need to be signed in with Google+ to do that.

Signing you in...

Google Developers needs your permission to do that.