While using Raspberry Pi you might not be interested to take a mouse and keyboard to run certain application when the Pi reboots. To avoid this many procedures are available . In this post i have used crontab to run a JAVA based application each time the Pi reboots. Actually crontab provides many more features.
First login to your pi. Change yourself to root user. Command is
After that to edit the crontab type
At the beginning of the file append
@reboot /usr/bin/java -classpath /home/pi/:/home/pi/Desktop/DisplayOne_lib/*.jar -jar /home/pi/Desktop/DisplayOne.jar
Here the library and .jar file paths are provided as of the location of my application file.
Have a good day…
Latest posts by Bikash Panda (see all)
- Firmata protocol with Raspberry Pi and Arduino - September 13, 2017
- IOT:Power outlet controlled from internet using WeMOS - August 9, 2017
- OSMC on Raspberry PI with Setup and Control using Android App - July 7, 2017