[SHR] Launching applications
openmoko at mazikeen.demon.co.uk
Mon Mar 16 20:03:33 CET 2009
On Monday 16 March 2009, Joseph Reeves wrote:
> As per the recent gvSIG Mobile thread:
> Why does SHR fail to find the application gvsig when the file exists
> as: /usr/bin/gvsig ?
> The application can be run with:
> jamvm -Xmx40M -cp
> es/prodevelop/gvsig/mobile/app/Launcher fr /usr/share/gv-om
> but this doesn't work if executed from the script /usr/bin/gvsig - why is
> What do I need to do to allow execution by pressing the icon in SHR?
The problem isn't that command, but the shell you're specifying at the start
of the script. Change from #!/bin/bash to #!/bin/sh and it works just fine.
More information about the community