JavaFX on Raspberry Pi: runfxapp
Running JavaFX Apps on RaspberryPi with JDK 8 needs still some command “overhead” like:
sudo /opt/jdk1.8.0/bin/java -Djavafx.platform=eglfb -cp \ /opt/jdk1.8.0/jre/lib/jfxrt.jar:/tmp/JavaFXSamples/Stopwatch.jar \ stopwatch.MainScreen
To start apps more conveniently I wrote a small bash-skript:
runfxapp
(as shell-skript code is ugly I skip posting it here ;-))
Copy this skript to somewhere on $PATH (e.g. /usr/local/bin
) and set execution rights:
sudo chmod 755 /usr/local/bin/runfxapp
Then Apps can be executed like:
runfxapp -j /home/pi/apps/StopWatch.jar stopwatch.MainWindow
Pretty element of content. I just stumbled upon your site and in accession capital
to assert that I get in fact enjoyed account your blog posts.
Anyway I will be subscribing in your augment and even I achievement you get entry to
constantly quickly.