Geertjan's Blog

  • June 22, 2009

Developing for Google App Engine in NetBeans IDE

Geertjan Wielenga
Product Manager
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:


Join the discussion

Comments ( 20 )
  • Dhanasekar Saturday, July 11, 2009

    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.

  • simon Wednesday, July 15, 2009
  • shashi Monday, July 27, 2009

    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 http://www.netbeans.org/community/issues.html,

    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


  • Tom Borthwick Wednesday, August 5, 2009

    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?


  • Geertjan Thursday, August 6, 2009
  • Jan Tuesday, November 17, 2009


    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)


  • Darren Friday, November 20, 2009

    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.


  • Hira Iqbal Tuesday, March 30, 2010

    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.

  • Ian Trudel Friday, June 25, 2010

    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?


  • Gabriele Tuesday, August 3, 2010

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

  • mike Sunday, November 7, 2010

    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

  • guest Friday, May 20, 2011
    Please there no plug-in for netbeans 7.0
  • guest Tuesday, August 9, 2011

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

    any solution?

  • guest Friday, November 25, 2011

    Just installed the plug-in in NB 7.0.1 (http://kenai.com/downloads/nbappengine/1.0_NetBeans671/updates.xml) and downloded Google SDK, ran the demo guestbook and worked fine.

    I used http://kenai.com/downloads/nbappengine/1.0_NetBeans671/updates.xml

    in NB

    I'm starting let's see how it goes on

  • guest Monday, March 19, 2012

    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.



  • guest Tuesday, September 18, 2012

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

  • guest Tuesday, February 26, 2013

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

  • guest Friday, April 26, 2013

    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.

  • Geertjan Saturday, April 27, 2013

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

  • guest Sunday, May 12, 2013

    The latest nbappengine-7.2 from Kenai appears dead. An it has many not fixed bugs. Try the clone here: https://github.com/Valery-Sh/NbAppEngine. Many bugs fixed an has nice improvements.

Please enter your name.Please provide a valid email address.Please enter a comment.CAPTCHA challenge response provided was incorrect. Please try again.