MegaDrum Manager FX on Raspberry Pi 4

Discussions of any related software

Moderator: Related software moderators

MegaDrum Manager FX on Raspberry Pi 4

Postby ibanman555 » Wed Jan 20, 2021 3:25 am

I have just picked up this little powerhouse computer and got the wild idea to try and get MDMFX file to run on it. I currently have a 15 year old brick running at my drum kit to act as the runner for MDMFX and to remotely connect to the PC running my audio software and drum software. It works, but I really really like the idea of using this small credit card sized hardware that runs better than the aforementioned brick. I've tried a few things, but I don't have the skills and knowledge to get it up and running, if it even can. It would be great to use this as my "server" at the drums instead of a power hungry ancient PC. Here is what I tried, and I'm hoping Dmitri or any other seasoned Linux user can help guide me in the right direction... Here is the load of code I've gone through. Any help would be greatly appreciated!

Code: Select all
pi@raspberrypi:~ $ java --version
openjdk 13-BellSoft 2019-09-17
OpenJDK Runtime Environment (build 13-BellSoft+33)
OpenJDK Server VM (build 13-BellSoft+33, mixed mode)
pi@raspberrypi:~ $ wget https://github.com/bell-sw/Liberica/releases/download/11.0.2/bellsoft-jdk11.0.2-linux-arm32-vfp-hflt.deb
--2021-01-19 22:11:27--  https://github.com/bell-sw/Liberica/releases/download/11.0.2/bellsoft-jdk11.0.2-linux-arm32-vfp-hflt.deb
Resolving github.com (github.com)... 140.82.114.3
Connecting to github.com (github.com)|140.82.114.3|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://github-production-release-asset-2e65be.s3.amazonaws.com/115621629/b94f0080-2219-11e9-8af3-ebd900be8d98?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20210120%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20210120T031127Z&X-Amz-Expires=300&X-Amz-Signature=0d74f5d763dc7ca7399c33921db276c806319b6f13f32d4b6e0777a48314d0a3&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=115621629&response-content-disposition=attachment%3B%20filename%3Dbellsoft-jdk11.0.2-linux-arm32-vfp-hflt.deb&response-content-type=application%2Foctet-stream [following]
--2021-01-19 22:11:27--  https://github-production-release-asset-2e65be.s3.amazonaws.com/115621629/b94f0080-2219-11e9-8af3-ebd900be8d98?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20210120%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20210120T031127Z&X-Amz-Expires=300&X-Amz-Signature=0d74f5d763dc7ca7399c33921db276c806319b6f13f32d4b6e0777a48314d0a3&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=115621629&response-content-disposition=attachment%3B%20filename%3Dbellsoft-jdk11.0.2-linux-arm32-vfp-hflt.deb&response-content-type=application%2Foctet-stream
Resolving github-production-release-asset-2e65be.s3.amazonaws.com (github-production-release-asset-2e65be.s3.amazonaws.com)... 52.217.111.100
Connecting to github-production-release-asset-2e65be.s3.amazonaws.com (github-production-release-asset-2e65be.s3.amazonaws.com)|52.217.111.100|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 175976194 (168M) [application/octet-stream]
Saving to: ‘bellsoft-jdk11.0.2-linux-arm32-vfp-hflt.deb’

bellsoft-jdk11.0.2- 100%[===================>] 167.82M  14.1MB/s    in 26s     

2021-01-19 22:11:54 (6.43 MB/s) - ‘bellsoft-jdk11.0.2-linux-arm32-vfp-hflt.deb’ saved [175976194/175976194]

pi@raspberrypi:~ $ sudo apt-get install ./bellsoft-jdk11.0.2-linux-arm32-vfp-hflt.deb
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Note, selecting 'bellsoft-java11' instead of './bellsoft-jdk11.0.2-linux-arm32-vfp-hflt.deb'
The following NEW packages will be installed:
  bellsoft-java11
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/176 MB of archives.
After this operation, 0 B of additional disk space will be used.
Get:1 /home/pi/bellsoft-jdk11.0.2-linux-arm32-vfp-hflt.deb bellsoft-java11 armhf 11.0.2 [176 MB]
Selecting previously unselected package bellsoft-java11.
(Reading database ... 101626 files and directories currently installed.)
Preparing to unpack .../bellsoft-jdk11.0.2-linux-arm32-vfp-hflt.deb ...
Unpacking bellsoft-java11 (11.0.2) ...
Setting up bellsoft-java11 (11.0.2) ...
pi@raspberrypi:~ $ sudo update-alternatives --config javac
There are 3 choices for the alternative javac (providing /usr/bin/javac).

  Selection    Path                                                   Priority   Status
------------------------------------------------------------
* 0            /usr/lib/jvm/bellsoft-java13-arm32-vfp-hflt/bin/javac   2130000   auto mode
  1            /usr/lib/jvm/bellsoft-java13-arm32-vfp-hflt/bin/javac   2130000   manual mode
  2            /usr/lib/jvm/java-8-openjdk-armhf/bin/javac             1081      manual mode
  3            /usr/lib/jvm/jdk-11-bellsoft-arm32-vfp-hflt/bin/javac   2001102   manual mode

Press <enter> to keep the current choice[*], or type selection number: 3
update-alternatives: using /usr/lib/jvm/jdk-11-bellsoft-arm32-vfp-hflt/bin/javac to provide /usr/bin/javac (javac) in manual mode
pi@raspberrypi:~ $ sudo update-alternatives --config java
There are 3 choices for the alternative java (providing /usr/bin/java).

  Selection    Path                                                  Priority   Status
------------------------------------------------------------
* 0            /usr/lib/jvm/bellsoft-java13-arm32-vfp-hflt/bin/java   2130000   auto mode
  1            /usr/lib/jvm/bellsoft-java13-arm32-vfp-hflt/bin/java   2130000   manual mode
  2            /usr/lib/jvm/java-8-openjdk-armhf/jre/bin/java         1081      manual mode
  3            /usr/lib/jvm/jdk-11-bellsoft-arm32-vfp-hflt/bin/java   2001102   manual mode

Press <enter> to keep the current choice[*], or type selection number: 3
update-alternatives: using /usr/lib/jvm/jdk-11-bellsoft-arm32-vfp-hflt/bin/java to provide /usr/bin/java (java) in manual mode
pi@raspberrypi:~ $ java --version
openjdk 11.0.2-BellSoft 2019-01-15
OpenJDK Runtime Environment (build 11.0.2-BellSoft+7)
OpenJDK Server VM (build 11.0.2-BellSoft+7, mixed mode)
pi@raspberrypi:~ $ java --module-path /usr/share/openjfx/lib --add-modules javafx.controls,javafx.web -jar MegaDrumManagerFX.jar
* failed to add service - already in use?
pi@raspberrypi:~ $ java -jar MegaDrumManagerFX.jar
* failed to add service - already in use?
pi@raspberrypi:~ $ sudo update-alternatives --config javac
There are 3 choices for the alternative javac (providing /usr/bin/javac).

  Selection    Path                                                   Priority   Status
------------------------------------------------------------
  0            /usr/lib/jvm/bellsoft-java13-arm32-vfp-hflt/bin/javac   2130000   auto mode
  1            /usr/lib/jvm/bellsoft-java13-arm32-vfp-hflt/bin/javac   2130000   manual mode
  2            /usr/lib/jvm/java-8-openjdk-armhf/bin/javac             1081      manual mode
* 3            /usr/lib/jvm/jdk-11-bellsoft-arm32-vfp-hflt/bin/javac   2001102   manual mode

Press <enter> to keep the current choice[*], or type selection number: 0
update-alternatives: using /usr/lib/jvm/bellsoft-java13-arm32-vfp-hflt/bin/javac to provide /usr/bin/javac (javac) in auto mode
pi@raspberrypi:~ $ sudo update-alternatives --config java
There are 3 choices for the alternative java (providing /usr/bin/java).

  Selection    Path                                                  Priority   Status
------------------------------------------------------------
  0            /usr/lib/jvm/bellsoft-java13-arm32-vfp-hflt/bin/java   2130000   auto mode
  1            /usr/lib/jvm/bellsoft-java13-arm32-vfp-hflt/bin/java   2130000   manual mode
  2            /usr/lib/jvm/java-8-openjdk-armhf/jre/bin/java         1081      manual mode
* 3            /usr/lib/jvm/jdk-11-bellsoft-arm32-vfp-hflt/bin/java   2001102   manual mode

Press <enter> to keep the current choice[*], or type selection number: 0
update-alternatives: using /usr/lib/jvm/bellsoft-java13-arm32-vfp-hflt/bin/java to provide /usr/bin/java (java) in auto mode
pi@raspberrypi:~ $ java -jar MegaDrumManagerFX.jar

Gtk-Message: 22:18:25.304: Failed to load module "atk-bridge"





Exception in Application start method
java.lang.reflect.InvocationTargetException
   at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
   at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   at java.base/java.lang.reflect.Method.invoke(Method.java:567)
   at javafx.graphics/com.sun.javafx.application.LauncherImpl.launchApplicationWithArgs(LauncherImpl.java:464)
   at javafx.graphics/com.sun.javafx.application.LauncherImpl.launchApplication(LauncherImpl.java:363)
   at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
   at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   at java.base/java.lang.reflect.Method.invoke(Method.java:567)
   at java.base/sun.launcher.LauncherHelper$FXHelper.main(LauncherHelper.java:1051)
Caused by: java.lang.RuntimeException: Exception in Application start method
   at javafx.graphics/com.sun.javafx.application.LauncherImpl.launchApplication1(LauncherImpl.java:900)
   at javafx.graphics/com.sun.javafx.application.LauncherImpl.lambda$launchApplication$2(LauncherImpl.java:195)
   at java.base/java.lang.Thread.run(Thread.java:830)
Caused by: java.lang.UnsatisfiedLinkError: no jfxwebkit in java.library.path: [/usr/java/packages/lib, /lib, /usr/lib]
   at java.base/java.lang.ClassLoader.loadLibrary(ClassLoader.java:2670)
   at java.base/java.lang.Runtime.loadLibrary0(Runtime.java:806)
   at java.base/java.lang.System.loadLibrary(System.java:1906)
   at javafx.graphics/com.sun.glass.utils.NativeLibLoader.loadLibraryInternal(NativeLibLoader.java:163)
   at javafx.graphics/com.sun.glass.utils.NativeLibLoader.loadLibrary(NativeLibLoader.java:53)
   at javafx.web/com.sun.webkit.WebPage.lambda$static$0(WebPage.java:133)
   at java.base/java.security.AccessController.doPrivileged(AccessController.java:312)
   at javafx.web/com.sun.webkit.WebPage.<clinit>(WebPage.java:132)
   at javafx.web/javafx.scene.web.WebEngine.<init>(WebEngine.java:841)
   at javafx.web/javafx.scene.web.WebEngine.<init>(WebEngine.java:826)
   at javafx.web/javafx.scene.web.WebView.<init>(WebView.java:260)
   at info.megadrum.managerfx.ui.MidiRaw.<init>(MidiRaw.java:41)
   at info.megadrum.managerfx.ui.UIMidiLog.<init>(UIMidiLog.java:25)
   at info.megadrum.managerfx.Controller.<init>(Controller.java:179)
   at info.megadrum.managerfx.Main.start(Main.java:44)
   at javafx.graphics/com.sun.javafx.application.LauncherImpl.lambda$launchApplication1$9(LauncherImpl.java:846)
   at javafx.graphics/com.sun.javafx.application.PlatformImpl.lambda$runAndWait$12(PlatformImpl.java:455)
   at javafx.graphics/com.sun.javafx.application.PlatformImpl.lambda$runLater$10(PlatformImpl.java:428)
   at java.base/java.security.AccessController.doPrivileged(AccessController.java:391)
   at javafx.graphics/com.sun.javafx.application.PlatformImpl.lambda$runLater$11(PlatformImpl.java:427)
   at javafx.graphics/com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:96)
   at javafx.graphics/com.sun.glass.ui.gtk.GtkApplication._runLoop(Native Method)
   at javafx.graphics/com.sun.glass.ui.gtk.GtkApplication.lambda$runLoop$11(GtkApplication.java:277)
   ... 1 more
Exception running application info.megadrum.managerfx.Main
pi@raspberrypi:~ $
pi@raspberrypi:~ $
pi@raspberrypi:~ $
pi@raspberrypi:~ $
pi@raspberrypi:~ $
pi@raspberrypi:~ $
pi@raspberrypi:~ $ java --module-path /usr/share/openjfx/lib --add-modules javafx.controls,javafx.web -jar MegaDrumManagerFX.jar
Gtk-Message: 22:19:02.627: Failed to load module "atk-bridge"
Exception in Application start method
java.lang.reflect.InvocationTargetException
   at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
   at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   at java.base/java.lang.reflect.Method.invoke(Method.java:567)
   at javafx.graphics/com.sun.javafx.application.LauncherImpl.launchApplicationWithArgs(LauncherImpl.java:464)
   at javafx.graphics/com.sun.javafx.application.LauncherImpl.launchApplication(LauncherImpl.java:363)
   at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
   at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   at java.base/java.lang.reflect.Method.invoke(Method.java:567)
   at java.base/sun.launcher.LauncherHelper$FXHelper.main(LauncherHelper.java:1051)
Caused by: java.lang.RuntimeException: Exception in Application start method
   at javafx.graphics/com.sun.javafx.application.LauncherImpl.launchApplication1(LauncherImpl.java:900)
   at javafx.graphics/com.sun.javafx.application.LauncherImpl.lambda$launchApplication$2(LauncherImpl.java:195)
   at java.base/java.lang.Thread.run(Thread.java:830)
Caused by: java.lang.UnsatisfiedLinkError: no jfxwebkit in java.library.path: [/usr/java/packages/lib, /lib, /usr/lib]
   at java.base/java.lang.ClassLoader.loadLibrary(ClassLoader.java:2670)
   at java.base/java.lang.Runtime.loadLibrary0(Runtime.java:806)
   at java.base/java.lang.System.loadLibrary(System.java:1906)
   at javafx.graphics/com.sun.glass.utils.NativeLibLoader.loadLibraryInternal(NativeLibLoader.java:163)
   at javafx.graphics/com.sun.glass.utils.NativeLibLoader.loadLibrary(NativeLibLoader.java:53)
   at javafx.web/com.sun.webkit.WebPage.lambda$static$0(WebPage.java:133)
   at java.base/java.security.AccessController.doPrivileged(AccessController.java:312)
   at javafx.web/com.sun.webkit.WebPage.<clinit>(WebPage.java:132)
   at javafx.web/javafx.scene.web.WebEngine.<init>(WebEngine.java:841)
   at javafx.web/javafx.scene.web.WebEngine.<init>(WebEngine.java:826)
   at javafx.web/javafx.scene.web.WebView.<init>(WebView.java:260)
   at info.megadrum.managerfx.ui.MidiRaw.<init>(MidiRaw.java:41)
   at info.megadrum.managerfx.ui.UIMidiLog.<init>(UIMidiLog.java:25)
   at info.megadrum.managerfx.Controller.<init>(Controller.java:179)
   at info.megadrum.managerfx.Main.start(Main.java:44)
   at javafx.graphics/com.sun.javafx.application.LauncherImpl.lambda$launchApplication1$9(LauncherImpl.java:846)
   at javafx.graphics/com.sun.javafx.application.PlatformImpl.lambda$runAndWait$12(PlatformImpl.java:455)
   at javafx.graphics/com.sun.javafx.application.PlatformImpl.lambda$runLater$10(PlatformImpl.java:428)
   at java.base/java.security.AccessController.doPrivileged(AccessController.java:391)
   at javafx.graphics/com.sun.javafx.application.PlatformImpl.lambda$runLater$11(PlatformImpl.java:427)
   at javafx.graphics/com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:96)
   at javafx.graphics/com.sun.glass.ui.gtk.GtkApplication._runLoop(Native Method)
   at javafx.graphics/com.sun.glass.ui.gtk.GtkApplication.lambda$runLoop$11(GtkApplication.java:277)
   ... 1 more
Exception running application info.megadrum.managerfx.Main
pi@raspberrypi:~ $


Code: Select all
pi@raspberrypi:~ $ java --module-path /usr/share/openjfx/lib --add-modules javafx.controls,javafx.web -jar /home/pi/MegaDrumManagerFX.jar
Exception in Application start method
java.lang.reflect.InvocationTargetException
   at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
   at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   at java.base/java.lang.reflect.Method.invoke(Method.java:567)
   at javafx.graphics/com.sun.javafx.application.LauncherImpl.launchApplicationWithArgs(LauncherImpl.java:464)
   at javafx.graphics/com.sun.javafx.application.LauncherImpl.launchApplication(LauncherImpl.java:363)
   at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
   at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   at java.base/java.lang.reflect.Method.invoke(Method.java:567)
   at java.base/sun.launcher.LauncherHelper$FXHelper.main(LauncherHelper.java:1051)
Caused by: java.lang.RuntimeException: Exception in Application start method
   at javafx.graphics/com.sun.javafx.application.LauncherImpl.launchApplication1(LauncherImpl.java:900)
   at javafx.graphics/com.sun.javafx.application.LauncherImpl.lambda$launchApplication$2(LauncherImpl.java:195)
   at java.base/java.lang.Thread.run(Thread.java:830)
Caused by: java.lang.UnsatisfiedLinkError: no jfxwebkit in java.library.path: [/usr/java/packages/lib, /lib, /usr/lib]
   at java.base/java.lang.ClassLoader.loadLibrary(ClassLoader.java:2670)
   at java.base/java.lang.Runtime.loadLibrary0(Runtime.java:806)
   at java.base/java.lang.System.loadLibrary(System.java:1906)
   at javafx.graphics/com.sun.glass.utils.NativeLibLoader.loadLibraryInternal(NativeLibLoader.java:163)
   at javafx.graphics/com.sun.glass.utils.NativeLibLoader.loadLibrary(NativeLibLoader.java:53)
   at javafx.web/com.sun.webkit.WebPage.lambda$static$0(WebPage.java:133)
   at java.base/java.security.AccessController.doPrivileged(AccessController.java:312)
   at javafx.web/com.sun.webkit.WebPage.<clinit>(WebPage.java:132)
   at javafx.web/javafx.scene.web.WebEngine.<init>(WebEngine.java:841)
   at javafx.web/javafx.scene.web.WebEngine.<init>(WebEngine.java:826)
   at javafx.web/javafx.scene.web.WebView.<init>(WebView.java:260)
   at info.megadrum.managerfx.ui.MidiRaw.<init>(MidiRaw.java:41)
   at info.megadrum.managerfx.ui.UIMidiLog.<init>(UIMidiLog.java:25)
   at info.megadrum.managerfx.Controller.<init>(Controller.java:179)
   at info.megadrum.managerfx.Main.start(Main.java:44)
   at javafx.graphics/com.sun.javafx.application.LauncherImpl.lambda$launchApplication1$9(LauncherImpl.java:846)
   at javafx.graphics/com.sun.javafx.application.PlatformImpl.lambda$runAndWait$12(PlatformImpl.java:455)
   at javafx.graphics/com.sun.javafx.application.PlatformImpl.lambda$runLater$10(PlatformImpl.java:428)
   at java.base/java.security.AccessController.doPrivileged(AccessController.java:391)
   at javafx.graphics/com.sun.javafx.application.PlatformImpl.lambda$runLater$11(PlatformImpl.java:427)
   at javafx.graphics/com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:96)
   at javafx.graphics/com.sun.glass.ui.gtk.GtkApplication._runLoop(Native Method)
   at javafx.graphics/com.sun.glass.ui.gtk.GtkApplication.lambda$runLoop$11(GtkApplication.java:277)
   ... 1 more
Exception running application info.megadrum.managerfx.Main
pi@raspberrypi:~ $ java -jar MegaDrumManagerFX.jar
Exception in Application start method
java.lang.reflect.InvocationTargetException
   at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
   at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   at java.base/java.lang.reflect.Method.invoke(Method.java:567)
   at javafx.graphics/com.sun.javafx.application.LauncherImpl.launchApplicationWithArgs(LauncherImpl.java:464)
   at javafx.graphics/com.sun.javafx.application.LauncherImpl.launchApplication(LauncherImpl.java:363)
   at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
   at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   at java.base/java.lang.reflect.Method.invoke(Method.java:567)
   at java.base/sun.launcher.LauncherHelper$FXHelper.main(LauncherHelper.java:1051)
Caused by: java.lang.RuntimeException: Exception in Application start method
   at javafx.graphics/com.sun.javafx.application.LauncherImpl.launchApplication1(LauncherImpl.java:900)
   at javafx.graphics/com.sun.javafx.application.LauncherImpl.lambda$launchApplication$2(LauncherImpl.java:195)
   at java.base/java.lang.Thread.run(Thread.java:830)
Caused by: java.lang.UnsatisfiedLinkError: no jfxwebkit in java.library.path: [/usr/java/packages/lib, /lib, /usr/lib]
   at java.base/java.lang.ClassLoader.loadLibrary(ClassLoader.java:2670)
   at java.base/java.lang.Runtime.loadLibrary0(Runtime.java:806)
   at java.base/java.lang.System.loadLibrary(System.java:1906)
   at javafx.graphics/com.sun.glass.utils.NativeLibLoader.loadLibraryInternal(NativeLibLoader.java:163)
   at javafx.graphics/com.sun.glass.utils.NativeLibLoader.loadLibrary(NativeLibLoader.java:53)
   at javafx.web/com.sun.webkit.WebPage.lambda$static$0(WebPage.java:133)
   at java.base/java.security.AccessController.doPrivileged(AccessController.java:312)
   at javafx.web/com.sun.webkit.WebPage.<clinit>(WebPage.java:132)
   at javafx.web/javafx.scene.web.WebEngine.<init>(WebEngine.java:841)
   at javafx.web/javafx.scene.web.WebEngine.<init>(WebEngine.java:826)
   at javafx.web/javafx.scene.web.WebView.<init>(WebView.java:260)
   at info.megadrum.managerfx.ui.MidiRaw.<init>(MidiRaw.java:41)
   at info.megadrum.managerfx.ui.UIMidiLog.<init>(UIMidiLog.java:25)
   at info.megadrum.managerfx.Controller.<init>(Controller.java:179)
   at info.megadrum.managerfx.Main.start(Main.java:44)
   at javafx.graphics/com.sun.javafx.application.LauncherImpl.lambda$launchApplication1$9(LauncherImpl.java:846)
   at javafx.graphics/com.sun.javafx.application.PlatformImpl.lambda$runAndWait$12(PlatformImpl.java:455)
   at javafx.graphics/com.sun.javafx.application.PlatformImpl.lambda$runLater$10(PlatformImpl.java:428)
   at java.base/java.security.AccessController.doPrivileged(AccessController.java:391)
   at javafx.graphics/com.sun.javafx.application.PlatformImpl.lambda$runLater$11(PlatformImpl.java:427)
   at javafx.graphics/com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:96)
   at javafx.graphics/com.sun.glass.ui.gtk.GtkApplication._runLoop(Native Method)
   at javafx.graphics/com.sun.glass.ui.gtk.GtkApplication.lambda$runLoop$11(GtkApplication.java:277)
   ... 1 more
Exception running application info.megadrum.managerfx.Main
Last edited by ibanman555 on Tue Feb 16, 2021 11:24 pm, edited 1 time in total.
ibanman555
 
Posts: 260
Joined: Sat Jan 28, 2012 8:44 pm
Location: Upstate New York (Adirondacks)

Re: MegaDrum Manager FX with Raspberry Pi 4

Postby dmitri » Wed Jan 20, 2021 4:32 pm

Looks like Webview is missing on Raspberry: https://www.b4x.com/android/forum/threa ... -pi.97412/
dmitri
Site Admin
 
Posts: 8438
Joined: Fri Aug 03, 2007 8:05 pm

Re: MegaDrum Manager FX with Raspberry Pi 4

Postby ibanman555 » Tue Feb 16, 2021 9:59 pm

I did a fresh install of Raspbian OS full version, and downloaded MDMFX to Downloads folder. I made sure to change the directory to the file... and it worked!

Code: Select all
pi@raspberrypi:~ $ java --version
openjdk 11.0.9.1 2020-11-04
OpenJDK Runtime Environment (build 11.0.9.1+1-post-Raspbian-1deb10u2)
OpenJDK Server VM (build 11.0.9.1+1-post-Raspbian-1deb10u2, mixed mode)
pi@raspberrypi:~ $ sudo apt-get install openjfx
Reading package lists... Done
Building dependency tree       
Reading state information... Done
openjfx is already the newest version (11.0.2+1-1).
openjfx set to manually installed.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
pi@raspberrypi:~ $ cd /home/pi/Downloads
pi@raspberrypi:~/Downloads $ java -jar MegaDrumManagerFX.jar
Error: Could not find or load main class info.megadrum.managerfx.Main
Caused by: java.lang.NoClassDefFoundError: javafx/application/Application
pi@raspberrypi:~/Downloads $ java --module-path /usr/share/openjfx/lib --add-modules javafx.controls,javafx.web -jar MegaDrumManagerFX.jar
ibanman555
 
Posts: 260
Joined: Sat Jan 28, 2012 8:44 pm
Location: Upstate New York (Adirondacks)


Return to Related Software

Who is online

Users browsing this forum: No registered users and 31 guests