Last active
December 23, 2018 09:59
-
-
Save fookingthg/f98afc4d091135382df1cdaa73186f44 to your computer and use it in GitHub Desktop.
raspberry Pi : Start java apps on startup which required GUI
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
create a file test.desktop in /home/pi/.config/autostart/ with the following content. | |
replace app.jar with your jar location. (tested in raspi stretch) | |
[Desktop Entry] | |
Name=test | |
Type=Application | |
Exec=/usr/bin/java -jar /home/pi/Documents/app.jar | |
Terminal=true | |
Hidden=false |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment