Groovy is supported natively in NetBeans IDE from NetBeans IDE 6.5 onwards.
How To Get Started
A Groovy editor is a standard part of the "Java" distribution, i.e., the distribution aimed at Web development. Also included in that distribution is support for Grails.In this section, we create a Java application.Click here to download the "Java" distribution, 6.5 or above:
Creating a Groovy Application
Here is described how to use Groovy in NetBeans IDE: