Closed vortex314 closed 5 years ago
Ok, got it solved . As I had some other tools installed with OpenJFX : Arduino IDE and Intellij IDEA Quick and dirty with the below shell script :
set -x export JRE_WITH_JAVAFX_HOME=/home/lieven/arduino-1.8.8/java export JRE_HOME=/usr/lib/jvm/java-8-openjdk-amd64/jre echo " copying from " $JRE_WITH_JAVAFX_HOME " to " $JRE_HOME cp $JRE_WITH_JAVAFX_HOME/lib/ext/jfxrt.jar $JRE_HOME/lib/ext/ cp $JRE_WITH_JAVAFX_HOME/lib/javafx.properties $JRE_HOME/lib/ cp $JRE_WITH_JAVAFXHOME/lib/amd64/libprism $JRE_HOME/lib/amd64/ cp $JRE_WITH_JAVAFX_HOME/lib/amd64/libglass.so $JRE_HOME/lib/amd64/ cp $JRE_WITH_JAVAFXHOME/lib/amd64/libjavafx $JRE_HOME/lib/amd64/
Hope it can help some others.
Hi,
Great product that you have developed. I'm using it whenever possible ! Despite reading and trying all remediation's on the infamous missing openjfx jars, I'm not able to solve this. As Oracle has now also made Java more commercial, I would like to stick to OpenJDK. My installed environment, see below. Suggestions ?
$ java -jar mqtt-spy-0.5.4-jar-with-dependencies.jar Error: Could not find or load main class pl.baczkowicz.mqttspy.Main $ java -jar mqtt-spy-1.0.0.jar Error: Could not find or load main class pl.baczkowicz.mqttspy.Main $ java -jar mqtt-spy-1.0.1-beta-b18-jar-with-dependencies.jar Error: Could not find or load main class pl.baczkowicz.mqttspy.Main $ sudo apt-get install openjfx [sudo] password for lieven: Reading package lists... Done Building dependency tree
Reading state information... Done openjfx is already the newest version (11.0.2+1-1~18.04.2). The following packages were automatically installed and are no longer required: clang-format-4.0 libaio1:i386 libclang-4.0-dev libclang-common-4.0-dev libclang1-4.0 libcolorhug2 liblldb-4.0 libllvm4.0 libllvm6.0:i386 libmecab2:i386 libnuma1:i386 libvsqlitepp3v5 linux-image-4.13.0-21-generic linux-image-extra-4.13.0-21-generic llvm-4.0 llvm-4.0-dev llvm-4.0-runtime Use 'sudo apt autoremove' to remove them. 0 upgraded, 0 newly installed, 0 to remove and 84 not upgraded. $ java -version openjdk version "1.8.0_191" OpenJDK Runtime Environment (build 1.8.0_191-8u191-b12-2ubuntu0.18.04.1-b12) OpenJDK 64-Bit Server VM (build 25.191-b12, mixed mode)