This is a sample application for the Raspberry Pi to teach Java with LEDs.
Execute in Terminal as follows:
- javac -cp "lib/*" -d gen in/sse/led/MainLED.java
- sudo java -cp "./gen:lib/*" in.sse.led.MainLED
Use Geany's build function "Build->Set Build Commands"
"Java Commands"
"Command" javac -cp "lib/*" -d gen in/sse/led/MainLED.java
"Working directory" YOUR_ROOT_PATH (e.g. /home/pi/Documents/Dev/raspberry_LED)
"Java Commands"
"Command" sudo java -cp "./gen:lib/*" in.sse.led.MainLED
"Working directory" YOUR_ROOT_PATH (e.g. /home/pi/Documents/Dev/raspberry_LED)