No jrt-fs.jar in JRE?

Jayaprakash Arthanareeswaran jarthana at in.ibm.com
Mon May 30 08:09:19 UTC 2016


Hi Alan,

Alan Bateman <Alan.Bateman at oracle.com> wrote on 05/30/2016 12:47:17 PM:

> From: Alan Bateman <Alan.Bateman at oracle.com>
> To: Jayaprakash Arthanareeswaran/India/IBM at IBMIN, jigsaw-dev
> <jigsaw-dev at 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


More information about the jigsaw-dev mailing list