|
View:
New views
4 Messages
—
Rating Filter:
Alert me
|
|
|
where is com.sun.source.tree?I have rt.jar for java1.6 which is what was installed when I downloaded NB 6.7.1 last week and installed it.OK. That rt.jar has no com.sun.source... I discovered this by trying to import it, then going to libraries then java1.6(Default) then rt.jar.... yep nothing there.... what have I done wrong?
TIA |
|
|
Re: where is com.sun.source.tree?So in other words, why does rt.jar, the runtime for java not contain a compiled version of the com.sun.source packages which are in fact present in the corresponding source of the said same JDK in this case, JDK 1.6.016, or the latest.... and where can I get them ?
On Fri, Oct 23, 2009 at 6:14 PM, software visualization <softwarevisualization@...> wrote: I have rt.jar for java1.6 which is what was installed when I downloaded NB 6.7.1 last week and installed it.OK. That rt.jar has no com.sun.source... I discovered this by trying to import it, then going to libraries then java1.6(Default) then rt.jar.... yep nothing there.... what have I done wrong? |
|
|
Re: where is com.sun.source.tree?Those packgaes are in tools.jar in _JDK_ folder, as ones are only used by
compiler and only for compiling text (Java source) files. Java API doesn't says anything about it so, you need to bear in mind that thoes are vendor specific and runtime doesn't have it. Other compilers can use different way to parse sources. If you want to develop code based on trees (in other words code using SUN compiler), the best way is to create library and reference it in project, or just reference tools.jar. As the future sugestion, there are Java language model packages and classes in javax.lang.model.* wich should be available in Java 6 versions. Dnia sobota 24 październik 2009 o 00:14:19 software visualization napisał(a): > I have rt.jar for java1.6 which is what was installed when I downloaded NB > 6.7.1 last week and installed it.OK. That rt.jar has no com.sun.source... I > discovered this by trying to import it, then going to libraries then > java1.6(Default) then rt.jar.... yep nothing there.... what have I done > wrong? > > TIA > |
|
|
Re: where is com.sun.source.tree?Thanks Radoslaw.. I had no idea!
On Sat, Oct 24, 2009 at 7:56 AM, Radosław Smogura <rsmogura@...> wrote: Those packgaes are in tools.jar in _JDK_ folder, as ones are only used by |
| Free embeddable forum powered by Nabble | Forum Help |