Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » Importing JDT Package
Importing JDT Package [message #787867] Tue, 31 January 2012 23:00 Go to next message
No Body is currently offline No Body
Messages: 1
Registered: January 2012
Junior Member
Apologies if the answer is painfully simple, but I am not quite clear on how to access these JDT classes. I want to use the Abstract Syntax Tree in this package for code evaluation.

I was under the impression that eclipse used the Abstract Syntax Tree in org.eclipse.jdt.internal.compiler, i.e. it's installed by default. But in my project even just org.eclipse is not recognized. Do I have to import a specific JAR that may or may not be included in release but not included in each project's classpath by default?

System information:
Windows 7 64-bit
Eclipse IDE for Java Developers - Indigo Release

Thank you for your time.
Re: Importing JDT Package [message #787900 is a reply to message #787867] Wed, 01 February 2012 00:02 Go to previous message
Deepak Azad is currently offline Deepak Azad
Messages: 545
Registered: July 2009
Senior Member
> Do I have to
> import a specific JAR that may or may not be included in release but not
> included in each project's classpath by default?

Yes, please add org.eclipse.jdt.core to your project's classpath.

--
Deepak Azad
http://wiki.eclipse.org/JDT/FAQ
Previous Topic:Annotation Processor Manager Extension Point
Next Topic:Parameter Hints do not recognize correct method
Goto Forum:
  


Current Time: Mon Jul 28 20:37:46 EDT 2014

Powered by FUDForum. Page generated in 0.01854 seconds