[SHR] Launching applications
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:
> 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 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