Hi Grigor, Thanks a bunch for that add-exports switch. JSampler is working fine now, save for some creaky warning messages on JRE 18.
Andrew. On Tue, Dec 21, 2021 at 5:04 PM Grigor Iliev <gr.il...@gmail.com> wrote: > Hi Andrew, > You should be able to launch JSampler with latest JRE using the > following command: > > java --add-exports java.desktop/sun.swing.plaf.synth=ALL-UNNAMED -jar > /path/to/Fantasia-0.9.jar > > There might also be other module permission/access issues, which > should be easy to fix by using additional --add-exports and > --add-opens options, if needed. > > Unfortunately, I don't have spare time for free projects anymore and I > don't think that I'll be able to find time to work on JSampler in near > future. > > Regards, > Grigor. > > On Mon, Dec 20, 2021 at 11:53 AM Andrew C <countfuzzb...@gmail.com> wrote: > > > > Hi all, > > > > I'm running into some critical errors with openJDK/JRE versions 16/18 > and trying to run JSampler. It appears there are some older classes that > are no longer supported in these versions or perhaps need a bit more > wriggling to accommodate the JSampler code? > > > > Exception in thread "AWT-EventQueue-0" java.lang.IllegalAccessError: > class > > org.jsampler.view.fantasia.basic.PixmapPane (in unnamed module > @0x248d4f4a) > > cannot access class sun.swing.plaf.synth.Paint9Painter (in module > java.des > > ktop) because module java.desktop does not export sun.swing.plaf.synth > to u > > nnamed module @0x248d4f4a > > > > I know this is/was(?) Grishata's project and I lack the knowledge to > even begin trying to fix this up, but was wondering if anyone else has > encountered this and if there are workarounds for it? > > > > The alternative, if I cannot get it working would have to be diving into > sending LSCP commands to Linuxsampler via Netcat. That should be fun! ;) > > > > A question for Christian, but is it possible through LSCP to tell > Linuxsampler to open gigedit "Live" on an instrument, so as to edit in > real-time, or was that a special function of JSampler? > > > > Cheers, > > > > Andrew. > > _______________________________________________ > > Linuxsampler-devel mailing list > > Linuxsampler-devel@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/linuxsampler-devel >
_______________________________________________ Linuxsampler-devel mailing list Linuxsampler-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linuxsampler-devel