[SHR] Launching applications

Joel Newkirk freerunner at newkirk.us
Mon Mar 16 20:03:34 CET 2009

On Mon, 16 Mar 2009 16:27:02 +0000
Joseph Reeves <iknowjoseph at gmail.com> wrote:

> As per the recent gvSIG Mobile thread:
> http://lists.openmoko.org/nabble.html#nabble-td2486265|a2486543
> 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
> /usr/share/java/swt.jar:/usr/share/gv-om/class/all.jar
> es/prodevelop/gvsig/mobile/app/Launcher fr /usr/share/gv-om
> /media/card
> but this doesn't work if executed from the script /usr/bin/gvsig -
> why is this?
> What do I need to do to allow execution by pressing the icon in SHR?
> Thanks, Joseph

Presuming that the icon is visible but just not working, my guess would
be that you need to include explicit path to everything within the
script, IE the java VM...  Logged in via terminal or SSH you will have
$PATH defined, when triggering scripts from GUI or automation $PATH may
not be defined.


More information about the community mailing list