SBC4 Java works everywhere but internal
Posted: Tue Sep 04, 2018 2:38 pm
So I am struggling to figure this one out. I have a bit of code to watch voltage inputs and blast out an UDP message on network once it hits a threshold. Code works amazing. It even works amazing when I launch it through the SBC4's web gui.. But when I attempt to run the code locally through it's command line, it gives the following error:
Mind you, this same program works if i navigate to Projects >> Project page >> and clicking start.
I tried to pick apart the web page to see what command it is launching but no luck. Any assistance?
Local commands attempted:
Code: Select all
Error: Could not find or load main class buttonScanner.jar
I tried to pick apart the web page to see what command it is launching but no luck. Any assistance?
Local commands attempted:
Code: Select all
java buttonScanner.jar
Code: Select all
java /usr/userapp/*programfolder*/buttonScanner.jar