<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Hi Jody,<br>
<br>
<br>
On 07/23/2012 08:36 AM, Jody Garnett wrote:<br>
</div>
<blockquote cite="mid:8EE4BD15CA9C4C6BBCAE1B478C712154@gmail.com"
type="cite">
<blockquote type="cite">
<pre wrap="">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)
</pre>
</blockquote>
<pre wrap="">
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.</pre>
</blockquote>
<br>
I moved the jai binaries and jars into a custom folder under udig.<br>
Then I added this line on start of udig.sh, right under the gdal
line:<br>
<br>
export LD_LIBRARY_PATH=LD_LIBRARY_PATH:/usr/lib/udig/jai/ext/<br>
<br>
<blockquote cite="mid:8EE4BD15CA9C4C6BBCAE1B478C712154@gmail.com"
type="cite">
<pre wrap="">
</pre>
<blockquote type="cite">
<pre wrap="">2. use a pure java implementation of uDig without JAI
</pre>
</blockquote>
<pre wrap="">
I am not keen to make a special copy of uDig just for the live dvd.
</pre>
<blockquote type="cite">
<pre wrap="">The open ticket is here: <a class="moz-txt-link-freetext" href="https://trac.osgeo.org/osgeo/ticket/922">https://trac.osgeo.org/osgeo/ticket/922</a>
</pre>
</blockquote>
<pre wrap="">
</pre>
<blockquote type="cite">
<pre wrap="">Thoughts?
</pre>
</blockquote>
<pre wrap="">
You only mentioned JAI here; are you also looking at ImageIO and ImageIO-Ext? Other projects such as Geomajas are more likely to conflict on the copy of ImageIO-Ext and GDAL used.</pre>
</blockquote>
I did not touch either ImageIO or GDAL, since udig seemed to open
every file I tested just with JAI moved around.<br>
<blockquote cite="mid:8EE4BD15CA9C4C6BBCAE1B478C712154@gmail.com"
type="cite">
<pre wrap="">
Jody
</pre>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
User-friendly Desktop Internet GIS (uDig)
<a class="moz-txt-link-freetext" href="http://udig.refractions.net">http://udig.refractions.net</a>
<a class="moz-txt-link-freetext" href="http://lists.refractions.net/mailman/listinfo/udig-devel">http://lists.refractions.net/mailman/listinfo/udig-devel</a>
</pre>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">--
Angelos Tzotsos
Remote Sensing Laboratory
National Technical University of Athens
<a class="moz-txt-link-freetext" href="http://users.ntua.gr/tzotsos">http://users.ntua.gr/tzotsos</a></pre>
</body>
</html>