No, I don't believe that it is the hardware either. I think that its likely to be either:
- the implementation of debian/LXDE on the ARM platform, OR
- some difference in implementation for the the JAVA SE Embedded jre product compared with the standard JAVA SE jre product
As another test, we replicated the shell script and .desktop file to a standard PC running Lubuntu 12.04 LXDE. We installed Oracle JAVA SE 1.8.0_25 and the same version of the jOrgan application as used on the ARM platform. The autostart mechanism and files were identical to what has been set up on the Beaglebone. The autostart process works flawlessly on the PC. The onnly difference there is that we were using JAVA SE 1.8.0 on the PC vs JAVA SE Embedded 1.8.0 on the Beaglebone, but I'm stuggling to see that the embedded version of JAVA would create that problem.
The question now is how to isolate this problem further. Trying to redirect the console output for the JAVA command in the shell script file to a text file does not work.
I don't see how it can be a permissions issue - the scrpt file when invoked manually as the user runs just fine and starts the application.
Are there some log files I can review that might help point to the cause??
Just to recap:
- the autostart process (via the .desktop file located in /etc/xdg/autostart) does execute the shell script file
- if a standard application is added to the shell script file in the user's home directory the application is started as intended
- if a standard command (e.g. ls -l > list.txt) is added ot the shell script file it too is run correctly
- this command, when added to the shell script in the user's home directory does not successfully execute on the Beaglebone (it does on a PC running LUbuntu):
java -jar /home/organ/jOrgan-3_20/jorgan.jar