Open
Description
I'm trying to run the pi4j archetype on a raspberry 5.0 from Windows 10 with Netbeans 24. I have set up the raspberry.properties and can run/debug it.
The problem is it runs on my local machine not on the raspberry.
I changed the first statement in main to
console.box("Hello
Rasbian world ! OS = " + System.getProperty("os.name")); I also commented out the code following this statement because it just caused a crash (because its running on the wrong platform).
`
to figure out what was going on.
running with maven -X this is the final part of the output
env: __COMPAT_LAYER=RunAsAdmin
Toolchains are ignored, 'executable' parameter is set to C:\Program Files\Java\zulu11.76.21-ca-jdk11.0.25-win_x64\zulu11.76.21-ca-jdk11.0.25-win_x64\bin\java.exe
Executing command line: [C:\Program Files\Java\zulu11.76.21-ca-jdk11.0.25-win_x64\zulu11.76.21-ca-jdk11.0.25-win_x64\bin\java.exe, -classpath, C:\Users\Quentin\Documents\NetBeansProjects\mavenproject1\target\classes;C:\Users\Quentin\.m2\repository\org\slf4j\slf4j-api\1.7.32\slf4j-api-1.7.32.jar;C:\Users\Quentin\.m2\repository\org\slf4j\slf4j-simple\1.7.32\slf4j-simple-1.7.32.jar;C:\Users\Quentin\.m2\repository\com\pi4j\pi4j-core\2.4.0\pi4j-core-2.4.0.jar;C:\Users\Quentin\.m2\repository\com\pi4j\pi4j-plugin-raspberrypi\2.4.0\pi4j-plugin-raspberrypi-2.4.0.jar;C:\Users\Quentin\.m2\repository\com\pi4j\pi4j-plugin-pigpio\2.4.0\pi4j-plugin-pigpio-2.4.0.jar;C:\Users\Quentin\.m2\repository\com\pi4j\pi4j-library-pigpio\2.4.0\pi4j-library-pigpio-2.4.0.jar, com.pi4j.mavenproject1.Main]
15:07:12 [main] INFO com.pi4j.util.Console - --------------------------------------------
15:07:12 [main] INFO com.pi4j.util.Console - | Hello Rasbian world ! OS = Windows 10 |
15:07:12 [main] INFO com.pi4j.util.Console - --------------------------------------------
------------------------------------------------------------------------
BUILD SUCCESS
------------------------------------------------------------------------
Total time: 1.981 s
Finished at: 2025-02-18T15:07:12-05:00
Metadata
Metadata
Assignees
Labels
No labels