You are not logged in.
Pages: 1
I'm having some trouble executing a specific JAR when X starts up. I'm trying to create a kiosk environment where a java app launches as soon as X starts. I made a shell script that executes the jar using the following:
java -cp {correct path to JAR containing main method} -jar {JAR name}
Everything works peachy when I run startx if I've cd'd into the directory that the JAR I want to execute is sitting. However, if I navigate away from that folder, X can no longer access the JAR. What am I missing here?
Any help is greatly appreciated.
Last edited by hypnotic_meat (2009-04-21 17:41:56)
Offline
Looks like the -cp option was unnecessary and simply doing: java -jar {full path to the JAR} did the trick.
Offline
Pages: 1