I am using a this project on the project that I am developing in Netbeans. Basically, I copied the 3 source code files to my project and did some tweaks to the Main.ja
To use the Eclipse ASTParser in a plain (non-OSGi, not Eclipse-based) Java application you need following JARs:
All these JARs can be found in an Eclipse SDK ZIP file that you can download from the Eclipse Project Downloads website, e. g. Eclipse 4.7.3a SDK. Since these JARs are not platform-dependent, it doesn't matter which operating system you choose. For example, you can choose eclipse-SDK-4.7.3a-win32-x86_64.zip.
In the ZIP file, you will find the JARs in the subdirectory plugins
as <id>_<version>.jar
(the corresponding source code as <id>.source_<version>.jar
).