On Montag, 20. Dezember 2021 10:52:50 CET Andrew C wrote: > Hi all, Hi,
> 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? Yes, one of the following, but probably not an answer that you like: - Use QSampler instead of JSampler. or - Use an older Java SDK. or - Try fixing the issue in JSampler's source code. When you look at the Subversion repository [1] you will see that the last change on JSampler was almost 10 years ago. It is almost a miracle that it still worked for such a long time without any maintenance changes. [1] http://svn.linuxsampler.org/cgi-bin/viewvc.cgi/jsampler/trunk/?view=log > 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! ;) Or you just use QSampler, setup your session with mouse as usual, and if you still want to use LSCP from the command line you can just save your session with QSampler which saves it as LSCP file. So you would have an easy starting point from there. > 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? Sure! Both JSampler and QSampler control the sampler via LSCP. So everything they do, you can do as well. In this case it is EDIT CHANNEL INSTRUMENT <sampler-channel> http://www.linuxsampler.org/api/draft-linuxsampler-protocol.html#rfc.section.6.9.1 > > Cheers, > > Andrew. _______________________________________________ Linuxsampler-devel mailing list Linuxsampler-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linuxsampler-devel