PINE64
How to install JavaFX - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: PINE A64(+) (https://forum.pine64.org/forumdisplay.php?fid=4)
+--- Forum: Linux on Pine A64(+) (https://forum.pine64.org/forumdisplay.php?fid=6)
+---- Forum: Debian (https://forum.pine64.org/forumdisplay.php?fid=24)
+---- Thread: How to install JavaFX (/showthread.php?tid=2937)



How to install JavaFX - tommypine - 12-13-2016

Hi, i try to run a Java program that runs everywhere ok, but on the pine i get the Errormessage that the Java FX is missing. How can i get and install it?????   Huh
apt-get dos not work.


RE: How to install JavaFX - MarkHaysHarris777 - 12-13-2016

(12-13-2016, 09:07 AM)tommypine Wrote: Hi, i try to run a Java program that runs everywhere ok, but on the pine i get the Errormessage that the Java FX is missing. How can i get and install it?????   Huh
apt-get dos not work.

sudo apt search javafx :

libopenjfx-java/jessie-backports 8u91-b14-1~bpo8+1 all
  JavaFX/OpenJFX 8 - Rich client application platform for Java (Java libraries)

libopenjfx-java-doc/jessie-backports 8u91-b14-1~bpo8+1 all
  JavaFX/OpenJFX 8 - Rich client application platform for Java (Javadoc)

openjfx-source/jessie-backports 8u91-b14-1~bpo8+1 all
  JavaFX/OpenJFX 8 - Rich client application platform for Java (sources)

-------------------------

I did this search ( above ) on debian ( jessie-backports ) found the above entries for the library, the doc, and the source respectively.  Of course you need backports in your repository listing. 

sudo apt search javafx :

libopenjfx-java/xenial,xenial 8u60-b27-4 all
  JavaFX/OpenJFX 8 - Rich client application platform for Java (Java libraries)

libopenjfx-java-doc/xenial,xenial 8u60-b27-4 all
  JavaFX/OpenJFX 8 - Rich client application platform for Java (Javadoc)

libopenjfx-jni/xenial 8u60-b27-4 arm64
  JavaFX/OpenJFX 8 - Rich client application platform for Java (native libraries)

openjfx/xenial 8u60-b27-4 arm64
  JavaFX/OpenJFX 8 - Rich client application platform for Java

openjfx-source/xenial,xenial 8u60-b27-4 all
  JavaFX/OpenJFX 8 - Rich client application platform for Java (sources)

-------------------------

I did the above search on ubuntu xenial which gives a bit more;  more than likely java fx will probably work better on ubuntu than the older debian ;  however,  not tested myself one way or the other.


RE: How to install JavaFX - tommypine - 01-08-2017

After long investigations found this info from Oracle:

"
Many of you have been asking about the status of JavaFX in Linux/ARM
embedded platforms. Starting with 8u33, JavaFX has been removed from
both Oracle JDK for ARM and Oracle Java SE Embedded. [1]

This is a resource trade off within Oracle. Included in that difficult
trade off decision was the ongoing investment needed to properly support
FX in a world where so much the hardware is not standardized -- it
really is difficult to have enough hardware and testing resources
committed to support FX on ARM. It is important to understand that when
we say support, we are not talking about just "running" on a device like
the Raspberry PI -- but providing support for paying customers that are
almost certainly going to be using hardware that is customized for their
embedded product.

This does not mean that FX is going away on other platforms, and
hopefully does not mean we will be disappearing from ARM completely.

The core JavaFX team will continue working on the ARM port as resources
permit, hopefully with involvement of members of the OpenJFX community.
We have continued to demonstrate this commitment with the moving all of
the JavaFX sources to OpenJFX, and maintaining an up to date OpenJFX
Wiki which includes detailed articles on building for ARM.
"

Exclamation For the whole content read here Exclamation

http://mail.openjdk.java.net/pipermail/openjfx-dev/2015-January/016570.html


RE: How to install JavaFX - dkryder - 01-09-2017

good job digging for that information. i'd guess that you would have to compile from sources to get it to run on the pine. have you done any research into the actual community that is around the new open sourced code? if you still have interest in seeing it run on pine64 i'd suggest finding a forum/discussion group dedicated to openjfx.