Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
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

Using NetBeans with the Pi


After discussing our application logic and seeing how it works, it's time for the best part: building your application and running it on the Raspberry Pi using NetBeans. The steps are as follows:

  1. Right-click on the Chapter6 project in NetBeans Projects tab and select Properties.

  2. From the Project Properties box, select Run from the Categories menu to the left. You will see a dialog similar to the following screenshot:

    Project Properties dialog and the Run incarnation

  3. Click on the New button to the right of the selected Configuration. Set a name for the New Configuration (Pi Remote Config) and click on the OK button, as shown in the following screenshot:

    New Configuration

  4. Now you have to associate a remote JDK with your remote configuration. To do so, click on the combo box labeled Runtime Platform and select JavaFX on Raspberry Pi JDK 8 that you configured earlier. Don't forget to add the path for jfxrt.jar in VM Options:

    Remote Pi JDK association

  5. The final step is to build...

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