On 07/23/2012 09:49 PM, [email protected] wrote:
On 23.07.2012 20:21, Angelos Tzotsos wrote:
Hi Jody,


On 07/23/2012 08:36 AM, Jody Garnett wrote:
We have 2 options:
1. find a way for uDig to load JAI through a custom directory (even
though an export LD_LIBRARY_PATH for a custom path did not work in Ubuntu)


Do you have a link to what you tried in this respect?

We have an outstanding change request to package the binaries up inside uDig; this would prevent them being shared with other applications on the disk; and would result in uDig shipping a second copy of GDAL. While this is smaller then uDig having its own JRE; it would be preferable from a size point of view if you could get the script to work.

I moved the jai binaries and jars into a custom folder under udig.
Then I added this line on start of udig.sh, right under the gdal line:

export LD_LIBRARY_PATH=LD_LIBRARY_PATH:/usr/lib/udig/jai/ext/


this should probably be

 LD_LIBRARY_PATH=/usr/lib/udig/jai/ext/:$LD_LIBRARY_PATH

as you most likely want to keep the old values (notice the dollar sign) but want to prefer the ones you put into path (reversed order)

..ede/openjump
_______________________________________________
Live-demo mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/live-demo
http://live.osgeo.org
http://wiki.osgeo.org/wiki/Live_GIS_Disc

Hi Ede,

Yes, sorry for the typo, this is what I tested.

Angelos

--
Angelos Tzotsos
Remote Sensing Laboratory
National Technical University of Athens
http://users.ntua.gr/tzotsos

_______________________________________________
Live-demo mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/live-demo
http://live.osgeo.org
http://wiki.osgeo.org/wiki/Live_GIS_Disc

Reply via email to