Skip to content

Experiments with the latest Java and JavaFx on Raspberry PI

Notifications You must be signed in to change notification settings

FDelporte/PiJava

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

70 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PiJava

Experiments with the latest Java and JavaFx on Raspberry PI.

Contents

  • Code for
    • "HelloWorld.java" --> application which can be started with Java 11 without compiling.
    • "HelloGpio.java" --> Java application interacting with the GPIO.
    • "Main.java" + "Launcher.java" --> JavaFX application using TilesFX.
  • Scripts for
    • Setting up Java and JavaFX on a new Raspian OS.
    • Defining the PI type and related info.
    • Running the Java and JavaFX applications.

Screenshot of the running JavaFX application

Editor

The code has been tested with

  • IntelliJ IDEA
  • Visual Studio Code

How to build

This is a Maven project with plugins for the following commands:

  • compiler:compile --> compile the code
  • exec:java --> run the application from your IDE
  • jar:jar --> build a .jar file which you can run on PC and Raspberry Pi

More info

See articles on my blog: https://webtechie.be/2019/04/16/pijava-overview-java-11-and-javafx-11-on-raspberry-pi

About

Experiments with the latest Java and JavaFx on Raspberry PI

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published