Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Java FX 8 Essentials

You're reading from   Java FX 8 Essentials Create amazing Java GUI applications with this hands-on, fast-paced guide

Arrow left icon
Product type Paperback
Published in Jun 2015
Publisher
ISBN-13 9781784398026
Length 224 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Toc

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 it doesn't say 1.8.n, you'll need to install JDK8.

Installing Java SE 8

We have already installed our JDK 8 before and all necessary steps are described in the Installing Java SE 8 JDK section in Chapter 1, Getting Started with JavaFX 8.

Adding JavaFX...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image