Hi Alan, Alan Bateman <alan.bate...@oracle.com> wrote on 05/30/2016 12:47:17 PM:
> From: Alan Bateman <alan.bate...@oracle.com> > To: Jayaprakash Arthanareeswaran/India/IBM@IBMIN, jigsaw-dev > <jigsaw-dev@openjdk.java.net> > Date: 05/30/2016 12:47 PM > Subject: Re: No jrt-fs.jar in JRE? > > If you really really need some way to distinguish a JRE and JDK then > checking if the jdk.compiler module is in the list of module names. This > is very crude of course because you can use jlink to create a custom > runtime image that has the jdk.compiler module. This is not something we need, although that is a useful information. Thanks! > I'm curious what you mean by "(b) to get the class loader" as there is > no information to know which modules are mapped to which class loaders. Sorry it wasn't clear. What I really meant was to be able to create a URLClassLoader to load from jrt-fs.jar and use the JRT FileSystem API. Without the jrt-fs.jar, what are our options? Regards, Jay