jpackage ALL-SYSTEM

Bernd Eckenfels ecki at
Fri Mar 8 17:40:20 UTC 2019

Can you confir it works if you start your application with a stand-alone JDK?

I suspect you have a custom jlink Image which misses the modules. Can you share your jpackage configuration or at least run „Java –list-modules“ and –validate-modules in your installed app? I think you Need at least jdk.attach

jdk.attach provides used by jdk.attach

Von: Michael Hall
Gesendet: Freitag, 8. März 2019 18:29
An: core-libs-dev at
Betreff: jpackage ALL-SYSTEM

I have made changes to my application that make it mostly functional with the exception of JMX pid attach as built by jpackage. 
I thought I had this functionality working when I first got the application to use Java 9 but it no longer appears to work again now, either with my Java 9 app or my 13-internal+0-jdk13-jpackage.17 version app.
I understand for this issue serviceability-dev might be a better list for this but there may be one jpackage issue concerned as well.
Again, I don’t consider this a jpackage problem, my application now builds as successfully as it currently can with jpackage as-is.
What I get attempting  a JMX attach is…
2019-03-08 08:27:03.173 HalfPipe[2071:67749] No attach providers
2019-03-08 08:27:03.174 HalfPipe[2071:67749] no providers installed
2019-03-08 08:27:03.174 HalfPipe[2071:67749] 	at jdk.attach/
2019-03-08 08:27:03.174 HalfPipe[2071:67749] 	at us.hall.scripting.PidConnect.pidConnect(
2019-03-08 08:27:03.174 HalfPipe[2071:67749] 	at us.hall.scripting.RhinoScriptableObject.pidConnect(

The application also can’t be connected to from jconsole. Eclipse can be, so can a Java 8 app (Weka 3-8-2). jconsole shows Eclipse doing —add-modules ALL-SYSTEM
I was going to try this with my application but it did not work. The error persisted on that as a jvm argument.
Using it as a jpackage —add-modules parameter gets... 
Module ALL-SYSTEM does not exist.

The one question I would have for jpackage is should this work as a —add-modules parameter?

However, if anyone has any suggestions on getting JMX attach to work besides adding  serviceability-dev  to my forums that would be appreciated as well.


More information about the core-libs-dev mailing list