https://github.com/fdelporte/javamagazinejavafxonraspberrypi
Sample project to demonstrate the use of JavaFX on the Raspberry Pi
https://github.com/fdelporte/javamagazinejavafxonraspberrypi
Last synced: 3 months ago
JSON representation
Sample project to demonstrate the use of JavaFX on the Raspberry Pi
- Host: GitHub
- URL: https://github.com/fdelporte/javamagazinejavafxonraspberrypi
- Owner: FDelporte
- License: apache-2.0
- Created: 2020-04-08T09:52:52.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2022-01-04T16:44:28.000Z (over 3 years ago)
- Last Synced: 2024-05-01T17:28:53.552Z (about 1 year ago)
- Language: Java
- Size: 308 KB
- Stars: 9
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# Getting started with JavaFX on Raspberry Pi
Example application to demonstrate the use of JavaFX on a Raspberry Pi in combination with Pi4J and some basic (and cheap) hardware components.

## Build the application
This application is a Maven project. You can run it on PC, but will not do a lot as it needs Pi4J...
To build for the Raspberry Pi:
```
mvn clean package
```## Run on a Raspberry Pi
### Install Pi4J
```
$ curl -sSL https://pi4j.com/install | sudo bash
```### Connect the components

### Run the application
Copy the generated file "javamagazine-javafx-example-0.0.1-jar-with-dependencies.jar" to your Pi and start it with
```
$ java -jar javamagazine-javafx-example-0.0.1-jar-with-dependencies.jar
```