I am aware that Java cannot run in Arduino. I have been trying to translate it without much success. I am needing help, not mocking please. I am disabled and trying to learn a new language. Right now I am getting
C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino/main.cpp:43: undefined reference to `setup'
C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino/main.cpp:46: undefined reference to `loop'
collect2.exe: error: ld returned 1 exit status
And I have void setup() and void loop() installed correctly.