javapackager/ant issue

Alan Snyder javalists at cbfiddle.com
Mon Nov 21 17:39:29 UTC 2016


> On Nov 21, 2016, at 9:17 AM, Chris Bensen <chris.bensen at oracle.com> wrote:
> 
> Couple questions.
> 
> 1. Why isn’t jdk.management.jfr.jmod present?

I do not know.

> 2. I assume you are bundling a non-modular jar?

Correct.

> 
> Two options I’m pretty sure will work without seeing your project or having answers to these questions:
> 
> 1. Make jdk.managemnt.jfr.jmod present in the jmods directory.

How? It is not in the 144 snapshot os x release. I did a fast debug macosx configure and make images on a recent repo clone and it is not there either.

> 2. Turn your non-modular jar into a modular jar and unless you specifically require the module jdk.managemnt.jfr, it will not be linked in my jlink.
> 
> Chris
> 


More information about the jdk9-dev mailing list