You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
has been compiled by a more recent version of the Java Runtime (class file version 54.0), this version of the Java Runtime only recognizes class file versions up to 52.0
Error: A JNI error has occurred, please check your installation and try again
Exception in thread "main" java.lang.UnsupportedClassVersionError: javafx/application/Application has been compiled by a more recent version of the Java Runtime (class file version 54.0), this version of the Java Runtime only recognizes class file versions up to 52.0
using the same installed the appropriate version of openjdk 8, openjfx 8 and the related "correct" dependencies.
apt-cache show openjfx
sudo apt-get -V install openjfx=8u161-b12-1ubuntu2 libopenjfx-java=8u161-b12-1ubuntu2 libopenjfx-jni=8u161-b12-1ubuntu2
So I followed the information and tried out for 'my' version '8u252-b09', but without success:
$ sudo apt-get -V install openjfx=8u252-b09-1ubuntu2 libopenjfx-java=8u252-b09-1ubuntu2 libopenjfx-jni=8u252-b09-1ubuntu2
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Version 8u252-b092-1ubuntu2' for 'openjfx' was not found
E: Version '8u252-b09-1ubuntu2' for 'libopenjfx-java' was not found
E: Version '8u252-b09-1ubuntu2' for 'libopenjfx-jni' was not found
But how to find out which versions are available; ex '8u161-b12' ?
3. GUI : ERROR / PROBLEMS getting version information / update version
Finally I have the GUI MQTT SPY up and running, but still have some problems - see image.
And I'm afraid that I also have problems, with making a network connection.
But about that, I have to check that I didn't make a fault (I'm a beginner at MQTT).
The text was updated successfully, but these errors were encountered:
droopy4u
changed the title
MQTT-SPY :
MQTT-SPY : [3] GUI : PROBLEMS getting version information - [2] compatibility of version JavaFX / openjfx - [1] Could not find or load main class
Jun 9, 2020
Did you get a resolution with this issue. I have the same problem: I get the GUI as shown: Error getting version info. Also I am unable to connect to any of the brokers.
Using windows 10. I'm assuming the Java RTE supports FX, ?
C:\Users...>java -version
java version "1.8.0_321"
Java(TM) SE Runtime Environment (build 1.8.0_321-b07)
Java HotSpot(TM) 64-Bit Server VM (build 25.321-b07, mixed mode)
Same issue here. Any suggestions ?
Also the "please support" notification window hangs on top all windows and will not close.
Meanwhile we have Win 10 22H2, Mqtt Spy 1.0 and JRE 8 361
looks like after some updated I also run again into those issues, can not get it started on ubunut 20
running /usr/lib/jvm/java-14-openjdk-amd64/bin/java -cp "mqtt-spy-0.5.4-jar-with-dependencies.jar:lib/xmlsec-1.5.5.jar:lib/commons-logging-1.1.1.jar" pl.baczkowicz.mqttspy.Main
It started with : but finally end with problems in the GUI (see point 3)
1. It originally started with :
more information about my troubleshooting -
The ERROR :
2. compatibility of version JavaFX / openjfx
### Finally I found this problem :
for more information --> see point 5. - troubleshooting
SOLUTION
https://forums.linuxmint.com/viewtopic.php?p=1826127#p1826127 - Thu Jul 07, 2011 8:47 am - by ramk
using the same installed the appropriate version of
openjdk 8
,openjfx 8
and the related "correct" dependencies.So I followed the information and tried out for 'my' version '
8u252-b09
', but without success:But how to find out which versions are available; ex '8u161-b12' ?
apt-get -V install openjfx=8u161-b12-1ubuntu2 libopenjfx-java=8u161-b12-1ubuntu2 libopenjfx-jni=8u161-b12-1ubuntu2
The installed versions :
If I search via the package on the site of ubuntu;
openjfx
, I don't find '8u161-b12-1ubuntu2'the package on the site of ubuntu available ;
openjfx
3. GUI : ERROR / PROBLEMS getting version information / update version
Finally I have the GUI MQTT SPY up and running, but still have some problems - see image.
And I'm afraid that I also have problems, with making a network connection.
But about that, I have to check that I didn't make a fault (I'm a beginner at MQTT).
https://i.stack.imgur.com/SZ3fu.png
The text was updated successfully, but these errors were encountered: