Developing for Google App Engine in NetBeans IDE

One of the many people I met at JavaOne was NetBeans Platform developer Mark Claassen. (I'd still like to interview him about his NetBeans Platform experiences, just like I did with Chad Dorkin, as evidenced in the interview published yesterday entitled "Semiconductor Validation Engineering on the NetBeans Platform".)

Mark was concerned that NetBeans IDE seemed to be missing a number of very crucial plugins or that those plugins had not been adequately advertized. Here's my attempt to rectify that situation for one specific plugin, the one for developing/deploying Java applications for the Google App Engine:

I also created an issue on the Google App Engine site for missing documentation relating to this NetBeans plugin:

Feel free to add your support for this issue above.

Now a quick overview of what the plugin entails. First, of course, you need to download, unzip, and then install the NBM files that the plugin provides:

Next, you'll find you have the complete sample that is outlined on the Google App Engine site, i.e.. a Guest Book:

Also, the Google App Engine configuration file has a special icon, file support, and a visual editor:

The Services window shows a node for the running Google App Engine, which I was able to register after downloading the Java bundle for the Google App Engine:

Whenever you create a new web application, you can specify that it should be deployed to the Google App Engine, which causes the abovementioned Google App Engine configuration file to be created for you when Finish is clicked in this wizard:

And, once your application is ready to be deployed, you can right-click it and then upload it to the Google App Engine from inside the IDE:

That's a pretty solid plugin, providing exactly the kind of Google App Engine support that I'd expect NetBeans IDE to have. The only questions are when this will be mentioned on the Google App Engine site and when the plugin will be part of a standard NetBeans IDE release.

Go here to look at the sources, join the developer community around this project, or contribute source code yourself:


When i am deploying Google to App Engine i am getting error like this.. but in local server works good..
please help to solve the problem..

Error :

java.lang.IllegalStateException: cannot find javac executable based on java.home, tried "C:\\Program Files\\Java\\jre6\\bin\\javac.exe" and "C:\\Program Files\\Java\\bin\\javac.exe"
Unable to upload app: cannot find javac executable based on java.home, tried "C:\\Program Files\\Java\\jre6\\bin\\javac.exe" and "C:\\Program Files\\Java\\bin\\javac.exe"
Please see the logs [C:\\DOCUME~1\\Surya\\LOCALS~1\\Temp\\appcfg8153516255142134194.log] for further information.

Posted by Dhanasekar on July 10, 2009 at 11:57 PM PDT #

Try this:

Posted by simon on July 15, 2009 at 12:33 PM PDT #

I am able to register App Engine SDK in NetBean6.7

what i did was
i installed 6.7
i downloaded appengine-java-sdk-1.2.2 frm app engine for java.

then i tried to add server:
services-->servers-->addserver-->googleappengine-->installation location=C:\\appengine-java-sdk-1.2.2-->next

i got following error message

A java.lang.reflect.UndeclaredThrowableException exception has occurred.
Please report this at,
including a copy of your messages.log file as an attachment.
The messages.log file is located in your C:\\Users\\shashi\\.netbeans\\6.7\\var\\log folder.

shashi shrestha

Posted by shashi on July 26, 2009 at 07:24 PM PDT #

I've just started trying out Netbeans and I can't get the Google App Engine plugin to install. For Netbeans 6.7.1 on windows xp, I get this error:

"Some plugins require plugin Swing Layout Extensions integration to be installed.
The plugin Swing Layout Extensions integration is requested in version >= but only was found. The following plugins are affected:       Google App Engine Configuration Editor       Google App Engine Deployment       Google App Engine Server"

Do I need to get a swing plugin installed first?


Posted by Tom Borthwick on August 05, 2009 at 11:17 AM PDT #

Posted by Geertjan on August 05, 2009 at 08:22 PM PDT #


After Adding the plugins , before uploading the sample, i needed to do an extra step (NB 6.7.1) to add the server (in tools>servers>add server)


Posted by Jan on November 16, 2009 at 07:12 PM PST #

Hello All

When I create a sample web app using all the default settings and then clean and build it, I get the following.

C:\\Documents and Settings\\Darren\\My Documents\\My Projects\\Netbeans Projects\\WebApplication1\\nbproject\\build-impl.xml:858: Problem: failed to create task or type nbundeploy
Cause: The name is undefined.
Action: Check the spelling.
Action: Check that any custom tasks/types have been declared.
Action: Check that any <presetdef>/<macrodef> declarations have taken place.
BUILD FAILED (total time: 0 seconds)

Can anyone explain why this is happening and what I need to do to fix this.


Posted by Darren on November 19, 2009 at 09:02 PM PST #

you did not tell anything how to download the plugin for netbeans if you do so this would be more useful for the beginners like me.

Posted by Hira Iqbal on March 30, 2010 at 01:39 PM PDT #

NetBeans 6.9 is now available but Google App Engine does not work with it. I have loaded the guestbook sample again and the project is created. Unfortunately, the project is unavailable within NetBeans. Any tip?


Posted by Ian Trudel on June 25, 2010 at 06:38 AM PDT #

@Hira Iqbal: I also had the same experience. I hope it's going to be supported again soon.

Posted by Gabriele on August 02, 2010 at 11:28 PM PDT #

I just installed NetBeans 6.9 but Google App Engine does not work with it. I have loaded the guestbook sample and the project is created. Unfortunately, the project is unavailable within NetBeans. how can i solve this problem?
i cannot find my url.
pls am developing this site 4 my company but i need 2 embed java codes but i can't find my project and the sample project.pls help

Posted by mike on November 07, 2010 at 08:55 AM PST #

Please there no plug-in for netbeans 7.0

Posted by guest on May 20, 2011 at 12:58 PM PDT #

hi, i've a problem this problem to install the plugins: "The plugin Java Hints is requested in implementation version 4."
any solution?

Posted by guest on August 09, 2011 at 02:19 PM PDT #

Just installed the plug-in in NB 7.0.1 ( and downloded Google SDK, ran the demo guestbook and worked fine.
I used
in NB
I'm starting let's see how it goes on

Posted by guest on November 25, 2011 at 08:35 AM PST #

Hi I recently started learning Google App Engine. I tried to install Google App Engine through NetBeans, but its asking for "Java Hints" to install first. How to install through NetBeans.

Anyone please help me.


Posted by guest on March 19, 2012 at 05:50 AM PDT #

i want to google app plugin for netbean 7.0. then how can i get it??

Posted by guest on September 18, 2012 at 06:13 AM PDT #

how and where will i get the url for my application when i have deployed the application??

Posted by guest on February 26, 2013 at 09:40 AM PST #

iam using netbeans7.0.1 but icant install plugin for google app engine .while installing a message box appears and showing java

Some plugins require plugin Java Hints to be installed.
The plugin Java Hints is requested in implementation version 4. The following plugin is affected:       Google App Engine Editor Hints

can u pls give a reply to this.

Posted by guest on April 26, 2013 at 02:54 AM PDT #

Stop using 7.0.1. Use the latest release of NetBeans IDE always.

Posted by Geertjan on April 27, 2013 at 03:17 AM PDT #

The latest nbappengine-7.2 from Kenai appears dead. An it has many not fixed bugs. Try the clone here: Many bugs fixed an has nice improvements.

Posted by guest on May 12, 2013 at 07:45 AM PDT #

Post a Comment:
  • HTML Syntax: NOT allowed

Geertjan Wielenga (@geertjanw) is a Principal Product Manager in the Oracle Developer Tools group living & working in Amsterdam. He is a Java technology enthusiast, evangelist, trainer, speaker, and writer. He blogs here daily.

The focus of this blog is mostly on NetBeans (a development tool primarily for Java programmers), with an occasional reference to NetBeans, and sometimes diverging to topics relating to NetBeans. And then there are days when NetBeans is mentioned, just for a change.


« July 2016