Hello, ive been trying to use javafx on raspberry pi. I have javafx running on raspbian and working with the HelloWorld sample included in jfxports (i see the screen and button). I then opened the HelloWorld.java in a IDE and copied and pasted my code in (which involves using GPIO and PI4J). when i run gradlew :HelloWorld:build, instead of building the jar file in the build folder i receive this error. Can someone please tell me how to solve the gpio error. It doesnt recognize the gpio commands, somehow i need to add the pi4j jar files to the gradlew so it doesn’t throw an error.
Related topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
Can't build Gradle project on Raspberry Pi 3 | 0 | 779 | August 24, 2018 | |
Gradle on Raspberry PI 4 (4gb) | 0 | 505 | August 30, 2022 | |
Is anyone using Gradle to build JavaFX 2.0 projects? | 1 | 5139 | January 21, 2012 | |
Java FX Injection goes wrong. Built probably wrong | 0 | 348 | June 19, 2021 | |
Building CPP (JNI) and Java on Raspberry/Raspbian | 1 | 655 | July 30, 2020 |