B4J Question Install OpenJFX17

moster67

Expert
Licensed User
Longtime User
I have a problem using a B4J application on a remote desktop on a remote Windows10 machine.
It works fine using Windows10 RDP but if I connect with AnyDesk, TeamViewer, or even Remote Desktop for Mac, I have a view/control that is not painted (in this case PDFBOX). It remains black.

This seems to be a bug with JavaFX. There might be a possible fix as shown in the below link but then I need to use OpenJFX17
https://bugs.openjdk.java.net/browse/JDK-8239589
My issue is not 100% identical but very similar (control remains black).
It can also be due to Hardware acceleration but on our Windows machines in the office, it cannot be deactivated.
So I am trying "anything" to see if I can resolve the problem...

As to downloading, installing, and using OpenJFX17 on the remote machine, do I need to do anything particular in order to get it working with B4J?
Asking since Anywhere Software provides a special download link for the JDK which seems to be customized for B4J.
 
Last edited:

Erel

B4X founder
Staff member
Licensed User
Longtime User
You simply need to put the javafx files in the same folder as in the package downloaded from b4x.com.
If you want to build standalone packages then you should also download the jmods package.


1641214307102.png
 
Upvote 0

moster67

Expert
Licensed User
Longtime User
Thank you Erel. Should I combine javafx17 with openjdk17?
Or can I leave open jdk11?
 
Upvote 0
Top