Skip to main content


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] Wed, 01 February 2012 04:00 Go to next message
No Body is currently offline No BodyFriend
Messages: 1
Registered: February 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 05:02 Go to previous message
Deepak Azad is currently offline Deepak AzadFriend
Messages: 543
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: Thu Apr 18 16:31:19 GMT 2024

Powered by FUDForum. Page generated in 0.01715 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top