Java JDK capable of running JavaFX applications on Jetson boards with OpenGL acceleration

Hi there,

regarding the use of the Jetson boards (I have both a TX2 and a Nano), I should consider whether it is possible to use a java application (possibly jdk 8u112 based) that uses the jfx library with OpenGL acceleration.

I didn’t find any useful and up-to-date information except that probably I have to use openjdk and openjfx.

Could you give me some links about a complete working package?

Thx in advance

  • Stefano

There is no Java involved in each L4T releases, so it is highly possible it does not work.
If there is Java packages for arm64(aarch64), you may give it a try. Don’t see many discussions about running Java on Jetson platforms, but probably some users can share experience.

I’m using A LOT of Java (including Java FX and JCuda) in my SBC’s projects (jetson nano, rbpi’s and odroids XU4).

I’ve sent you a private message yesterday about this question.

Please let me know if you have other questions.



I would like to ask if you managed to resolve getting JavaFX to work on the TX2?

I’ve been trying and installing different editions of java without success. Any help would be much appreciated.

Thank you,

I got it to work… for anyone else that lands here I did the following:

  1. Downloaded Liberica JDK version 11 - from options Linux/Arm/Full JDK Deb file
  2. Installed as sudo from terminal - sudo apt install ./name_of_file.deb
  3. From downloaded the v11 JavaFX Linux SDK not the armv6hf
  4. extracted the JavaFX to a folder in the home directory
  5. from followed instructions to add PATH_TO_FX in path
  6. from downloaded sample javaFX file
  7. compiled with javac --module-path $PATH_TO_FX --add-modules javafx.controls
  8. ran the sample file with java --module-path $PATH_TO_FX --add-modules javafx.controls HelloFX


1 Like