Re: Warning: Cannot use jsr199 Javac from jrt-fs.jar"

2015-10-09 Thread Alan Bateman
On 09/10/2015 09:27, Jayaprakash Arthanareeswaran wrote: : At the moment, in Eclipse IDE, users can add any JRE to a project's build path, regardless of the JRE that the IDE is running on. For e.g. users can have multiple installations/versions of JRE 8 in different projec

Re: Warning: Cannot use jsr199 Javac from jrt-fs.jar"

2015-10-09 Thread Jayaprakash Arthanareeswaran
Alan Bateman wrote on 10/09/2015 12:46:21 PM: > Can you expand a bit more on this? Are you looking for the jrtfs update > so that you can access the jrt file system in a different JDK 9 image? > At the moment it is limited to JDK 8 accessing a JDK 9 image, there is > still work required to have a

Re: Warning: Cannot use jsr199 Javac from jrt-fs.jar"

2015-10-09 Thread Alan Bateman
On 09/10/2015 05:26, Jayaprakash Arthanareeswaran wrote: The ability that you need, and which you're currently missing, is the ability to load code (modules) from an alternate JDK image. This is what we (the eclipse team) is missing as well and I haven't heard anything along these line

Re: Warning: Cannot use jsr199 Javac from jrt-fs.jar"

2015-10-08 Thread Jayaprakash Arthanareeswaran
ething? Regards, Jay "jigsaw-dev" wrote on 10/08/2015 11:00:34 PM: > From: Jonathan Gibbons > To: jigsaw-dev@openjdk.java.net > Date: 10/08/2015 11:01 PM > Subject: Re: Warning: Cannot use jsr199 Javac from jrt-fs.jar" > Sent by: "jigsaw-dev" > >

Re: Warning: Cannot use jsr199 Javac from jrt-fs.jar"

2015-10-08 Thread Mandy Chung
What is the parent class loader of the class loader defining the class from JDK 8 tools.jar? Is it null? Mandy > On Oct 8, 2015, at 2:08 PM, Keimpe Bronkhorst > wrote: > > Alan, > > I'm running JDeveloper with jigsaw build > 1.9.0-ea-jigsaw-nightly-h3477-20150929-b83. Compiling in-process

Re: Warning: Cannot use jsr199 Javac from jrt-fs.jar"

2015-10-08 Thread Keimpe Bronkhorst
Alan, I'm running JDeveloper with jigsaw build 1.9.0-ea-jigsaw-nightly-h3477-20150929-b83. Compiling in-process using JSR199 with a Javac from JDK8 tools.jar is working fine. Keimpe On 10/8/2015 2:27 PM, Alan Bateman wrote: On 08/10/2015 20:45, Keimpe Bronkhorst wrote: Alan, If the user'

Re: Warning: Cannot use jsr199 Javac from jrt-fs.jar"

2015-10-08 Thread Alan Bateman
On 08/10/2015 20:45, Keimpe Bronkhorst wrote: Alan, If the user's project's JDK has a higher version than the JDK of JDeveloper, the compile is done out-of-process. Otherwise an in-process JSR199 is attempted. Yes, -source/-target/-Xbootclasspath (and now -release) for cross-compiling is anot

Re: Warning: Cannot use jsr199 Javac from jrt-fs.jar"

2015-10-08 Thread Keimpe Bronkhorst
Alan, If the user's project's JDK has a higher version than the JDK of JDeveloper, the compile is done out-of-process. Otherwise an in-process JSR199 is attempted. Yes, -source/-target/-Xbootclasspath (and now -release) for cross-compiling is another way, but it doesn't use the Javac of the us

Re: Warning: Cannot use jsr199 Javac from jrt-fs.jar"

2015-10-08 Thread Alan Bateman
On 08/10/2015 17:47, Keimpe Bronkhorst wrote: Jon, Users of JDeveloper want to be able to compile and run their code with any JDK on their filesystem, not just compile and run with the JDK JDeveloper is running on. I'm curious about this. If JDeveloper is running on JDK 7 for example and some

Re: Warning: Cannot use jsr199 Javac from jrt-fs.jar"

2015-10-08 Thread Jonathan Gibbons
rote: />>/It is possible in JDK8 and before to run JSR199 compilations using a />>/class loader that loads from tools.jar. I can't do something similar />>/in JDK9 using a new jigsaw build, trying to load from jrt-fs.jar. I />>/get this: Warning: Cannot u

RE: Warning: Cannot use jsr199 Javac from jrt-fs.jar"

2015-10-08 Thread Keimpe Bronkhorst
tions using a />>/class loader that loads from tools.jar. I can't do something similar />>/in JDK9 using a new jigsaw build, trying to load from jrt-fs.jar. I />>/get this: Warning: Cannot use jsr199 Javac from jrt-fs.jar". />>//>>/Does this mean you c

Re: Warning: Cannot use jsr199 Javac from jrt-fs.jar"

2015-10-07 Thread Jonathan Gibbons
r that loads from tools.jar. I can't do something similar in JDK9 using a new jigsaw build, trying to load from jrt-fs.jar. I get this: Warning: Cannot use jsr199 Javac from jrt-fs.jar". Does this mean you can only use the JSR199 as provided by ToolProvider.getSystemJavaCompiler()

Re: Warning: Cannot use jsr199 Javac from jrt-fs.jar"

2015-10-07 Thread Jonathan Gibbons
do something similar in JDK9 using a new jigsaw build, trying to load from jrt-fs.jar. I get this: Warning: Cannot use jsr199 Javac from jrt-fs.jar". Does this mean you can only use the JSR199 as provided by ToolProvider.getSystemJavaCompiler() of the current process in JDK9? Keimpe Bronkhorst JDeveloper

Re: Warning: Cannot use jsr199 Javac from jrt-fs.jar"

2015-10-07 Thread Mandy Chung
SR199 compilations using a class >> loader that loads from tools.jar. I can't do something similar in JDK9 using >> a new jigsaw build, trying to load from jrt-fs.jar. I get this: Warning: >> Cannot use jsr199 Javac from jrt-fs.jar". >> >> Does thi

Re: Warning: Cannot use jsr199 Javac from jrt-fs.jar"

2015-10-07 Thread Keimpe Bronkhorst
similar in JDK9 using a new jigsaw build, trying to load from jrt-fs.jar. I get this: Warning: Cannot use jsr199 Javac from jrt-fs.jar". Does this mean you can only use the JSR199 as provided by ToolProvider.getSystemJavaCompiler() of the current process in JDK9? Keimpe Bronkhorst JDeveloper

Warning: Cannot use jsr199 Javac from jrt-fs.jar"

2015-10-07 Thread Keimpe Bronkhorst
It is possible in JDK8 and before to run JSR199 compilations using a class loader that loads from tools.jar. I can't do something similar in JDK9 using a new jigsaw build, trying to load from jrt-fs.jar. I get this: Warning: Cannot use jsr199 Javac from jrt-fs.jar". Does this me