netbeans-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Hull <>
Subject Re: Replacing dependency on tools.jar in Java 11
Date Fri, 23 Aug 2019 11:14:36 GMT
On Fri, Aug 23, 2019 at 4:41 AM Alex Kotchnev <> wrote:
>    the code needs a few classes from the compiler tree API (e.g. com.sun.source.util
- TreePath, Trees, etc). I looked around but couldn't find what dependency to add to the project
instead. It seems that those classes are still available in newer SDKs, but the compilation
fails in them.
They have been put into the jdk.compiler module[1] so I think this
means you'll have to 'modularise' your plugin, unless there's a legacy
way to do it (personally I have not been able to figure out modules

To unsubscribe, e-mail:
For additional commands, e-mail:

For further information about the NetBeans mailing lists, visit:

View raw message