I'm struggling trying to get a modular build to work with a library that doesn't seem to expose a module:
Copy code
Exception in thread "JavaFX Application Thread" java.lang.IllegalAccessError: class net.nprod.bcm.separation.PeakSimulatorKt (in module bcm) cannot access class smile.math.special.Erf (in unnamed module @0x4993dace) because module bcm does not read unnamed module @0x4993dace
bjonnh
03/14/2021, 8:44 PM
I tried to add smile.math in my module-info.java, but it tells me that it doesn't exist
bjonnh
03/14/2021, 8:53 PM
Looks like I'm doing it half right. I can run the jlinked program, I just can't use the gradle "run" task… Which is a bit annoying to develop as the jlinking is kind of slow