Re: Replacing dependency on tools.jar in Java 11

2019-08-23 Thread Alex Kotchnev
hey Chris - same here, nbscala has been on my guilty pleasures list for a while. I'm not sure how much life there is left in it, but it's still fun to get back into it. I did pull some of your changes (from the nb11 branch) into my fork and removed a bunch of the implementation dependencies that

Re: Replacing dependency on tools.jar in Java 11

2019-08-23 Thread Luff,Chris
Hey all, this is a plugin I have put time into in the past - the whole thing needs to be modularised to take advantage of later JDK and Scala versions. I have started but time to work on it is limited. Additionally, some of the sub-projects are a little weirdly laid down so they probably need

Re: Replacing dependency on tools.jar in Java 11

2019-08-23 Thread Peter Hull
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

Re: Replacing dependency on tools.jar in Java 11

2019-08-21 Thread Geertjan Wielenga
Why specifically is tools.jar needed, any way to avoid that? I don’t think it matters much if you end up requiring JDK 8. It’s a good one. :-) Gj On Thu, 22 Aug 2019 at 04:39, Alex Kotchnev wrote: > The scala plugin that I'm trying to upgrade to Java 11 ( > https://github.com/ak

Replacing dependency on tools.jar in Java 11

2019-08-21 Thread Alex Kotchnev
The scala plugin that I'm trying to upgrade to Java 11 ( https://github.com/akochnev/ak_nbscala/tree/nb11-remove-impl-deps) has a system dependency on tools.jar from the JDK. That jar was removed from the JDK (in Java 9, I think), and because of that, I can only compile the plugin with Java 8. I

Re: tools.jar …

2018-08-12 Thread Juan Escribano
mport-init: > > > Created dir: > > > /Users/juan/NetBeansProjects/AeatSIIWS2/build/generated-sources/jax-ws > > > wsimport-client-SuministroFactEmitidas: > > > Created dir: > > > /Users/juan/NetBeansProjects/AeatSIIWS2/build/generated/jax-wsCache/SuministroFactEmit

Re: tools.jar …

2018-08-12 Thread Geertjan Wielenga
ject/jaxws-build.xml:22: > java.lang.ClassNotFoundException: JDK's tools.jar was not found in > /Library/Java/JavaVirtualMachines/jdk-10.0.2.jdk/Contents/lib/tools.jar. > Usually this means you are running JRE, not JDK. Please use the java > command in JDK 5.0 or later (not JRE.) &

Re: tools.jar …

2018-08-12 Thread Juan Escribano
wsimport-client-SuministroFactEmitidas: Created dir: /Users/juan/NetBeansProjects/AeatSIIWS2/build/generated/jax-wsCache/SuministroFactEmitidas /Users/juan/NetBeansProjects/AeatSIIWS2/nbproject/jaxws-build.xml:22: java.lang.ClassNotFoundException: JDK's tools.jar was not found in /Library/Java

Re: tools.jar …

2018-08-11 Thread Geertjan Wielenga
project. >> >> Gj >> >> >> >> On Saturday, August 11, 2018, Juan Escribano >> wrote: >> >>> Hi, >>> >>> As you know Java 9/10 do not include tools.jar in lib directory anymore. >>> >>> But if i’m tryin

Re: tools.jar …

2018-08-11 Thread Geertjan Wielenga
Beans and set JDK 8 as the JDK to use for that project. > > Gj > > > > On Saturday, August 11, 2018, Juan Escribano wrote: > >> Hi, >> >> As you know Java 9/10 do not include tools.jar in lib directory anymore. >> >> But if i’m trying to compile a p

Re: tools.jar …

2018-08-11 Thread Juan Escribano
for that project. > > Gj > > > > On Saturday, August 11, 2018, Juan Escribano wrote: > > Hi, > > > > As you know Java 9/10 do not include tools.jar in lib directory anymore. > > > > But if i’m trying to compile a project based on Java 1.8 wich has t

Re: tools.jar …

2018-08-11 Thread Geertjan Wielenga
On Saturday, August 11, 2018, Juan Escribano wrote: > Hi, > > As you know Java 9/10 do not include tools.jar in lib directory anymore. > > But if i’m trying to compile a project based on Java 1.8 wich has > tools.jar (using Netbeans 9.0 running over Java 10), how can I avoid the

tools.jar …

2018-08-11 Thread Juan Escribano
Hi, As you know Java 9/10 do not include tools.jar in lib directory anymore. But if i’m trying to compile a project based on Java 1.8 wich has tools.jar (using Netbeans 9.0 running over Java 10), how can I avoid the following error?: .../nbproject/jaxws-build.xml:22

tools.jar …

2018-08-11 Thread Juan Escribano
Hi, As you know Java 9/10 do not include tools.jar in lib directory anymore. But if i’m trying to compile a project based on Java 1.8 wich has tools.jar (using Netbeans 9.0 running over Java 10), how can I avoid the following error?: .../nbproject/jaxws-build.xml:22