On Mon, 16 Mar 2009 16:27:02 +0000
Joseph Reeves <iknowjos...@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.

j

_______________________________________________
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community

Reply via email to