O'Reilly logo

JavaFX Essentials by Mohamed Taman

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

JavaFX 8 development prerequisites

Now as we have set up and configured our Raspberry Pi for development, we need to install the same correct matching JDK 8 build version on both our development machine and the Pi. This is very important to avoid library/versioning issues when running our JavaFX 8 application, and this is what we are going to do next.

Installing Java SE 8 on the Raspberry Pi

At the time of writing, Raspbian Wheezy is shipped with JDK 8 preinstalled. To check, simply type the following at your Pi command prompt:

pi@raspberrypi ~ $ java –version

You will see something like this, depending upon the version that is currently installed and accessible:

Raspbian Wheezy Java version on Raspberry Pi

The important bit is the second line: if ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required