B4J Question Rasperry JavaFX version

FormCommander

Member
Licensed User
Longtime User
Hello,
I try to run DBUtils sample on a Rasperry with the bridge. Compiling and connection to bridge is ok, but I get a empty JavaFX window with the message that a newer version is needed. The debug code shows that something is wrong with the Desktop API.
I think the last version of JavaFX is already included in the installed jdk-8 ?
regards
Rudolf


java.lang.UnsupportedOperationException: Desktop API is not supported on the current platform
at java.awt.Desktop.getDesktop(Desktop.java:144)
at com.javafx.main.NoJavaFXFallback.actionPerformed(NoJavaFXFallback.java:141)
 

FormCommander

Member
Licensed User
Longtime User
Hello Erel, thank you, found the problem. When calling the bridge on the Pi I have to use the full path to Java1.8 folder. Otherwise it starts with version 7. Now I try to change the path settings to version 1.8.
regards
Rudolf
 
Upvote 0

DonManfred

Expert
Licensed User
Longtime User
I dont think this OLD version 1.8 is compatible :D
 
Upvote 0
Top