I have some source code that I have downloaded and it makes reference to sun.tools.javac and had a number of methods associated.
I think from what I have read that the sun.tools are not considered a part of the java sdk because there were some things within them that Sun was not sure they wanted to include in the specification for the language, and yet there are useful things in these tools. I have a set of source code that I have downloaded that uses sun.tools.javac and I am wanting to know.
A. Should I change the reference in the code to something that is more applicable in the 5.0 JDK or not? B. If I should not in A. where can I find the package that includes these classes?
Thank in advance!
posted 10 years ago
Hi, if you have the sdk it could probably be in (SDK_HOME)\lib\tools.jar