[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [udig-devel] Running uDig on Linux x64
|
You were right. The files had some issues when decompressed on other systems
than mine. It seems like compressing the jre folder with the build-in
"compress..." option on the file context menu in Ubuntu 9.10 will fail to
decompress with the commad 'tar -xf ..." on some systems . I have replaced
the old '..tar.gz' archive with a new one, this time compressed with 'tar
-czf ...'. The file is verified on two other Linux systems. The zip file had
>> http://lists.refractions.net/mailman/listinfo/udig-devel
>>
>
> This is great Kenneth, my process for the 32bit Linux is the same, but I
> haven't gotten around to posting the script or doco changes.
> As far as adding .so's to the LD_LIBRARY_PATH, that would make them
> accessible to the system as a whole, but isn't actually necessary for java
> to find the libraries. I haven't been able to download your archives, but
> your procedure looks good to me. Are you able to update the instructions
> online? <
> http://udig.refractions.net/confluence/display/ADMIN/JRE+for+Linux>
>
> --
> Mark
>
> _______________________________________________
> User-friendly Desktop Internet GIS (uDig)
> http://udig.refractions.net
> http://lists.refractions.net/mailman/listinfo/udig-devel
>
--0016e65ae6827760a204848c6cdd
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Yes, I'll update them shortly. How do we go about uploading the jre for Linux x86_64 to <a href="http://udig.refractions.net/files/downloads/jre/">http://udig.refractions.net/files/downloads/jre/</a>? <div><br></div><div>
A Linux x86_64 download of uDig 1.2 RC2 should also be posted for completeness. I have not looked into the build process of uDig yet. I think it is best that someone already familiar with this does it.<div><br></div><div>
Kenneth<br><div><br><div class="gmail_quote">2010/4/19 Mark Leslie <span dir="ltr"><<a href="mailto:mark.leslie@xxxxxxxxxxxx">mark.leslie@xxxxxxxxxxxx</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Kenneth Gulbrandsoy wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">
Hi!<br>
<br>
I think I have successfully bundled a Linux 64 Java Runtime Environment (jre6u20) with ImageIO-EXT support for Ubuntu 9.10 64bit (AMD processor). The java target is just a combination of all the stable releases of JAI, ImageIO and ImageIO-EXT put in the right locations (jars to ../jre/lib/ext and *.so to ../jre/lib/amd64 and so on).<br>
<br>
I have tested the target against a custom uDig application I'm developing, not the latest uDig release. The custom applications runs without any missing native library warnings (other than the Kakadu library which is not installed), shape and WMS layers. Since I'm relatively new to the uDig framework, I have not research it thoroughly enough to know of any unit test used to verify that a java target is sound for a given os platform. <br>
Could anyone verify that the following procedure will generate a sound java target for the x86_64 linux platform?<br>
<br></div>
1. Download jre6u20 from <a href="http://java.sun.com" target="_blank">java.sun.com</a> <<a href="http://java.sun.com" target="_blank">http://java.sun.com</a>>:<div class="im"><br>
jre-6u20-linux-x64.bin<br></div>
<<a href="http://cds.sun.com/is-bin/INTERSHOP.enfinity/WFS/CDS-CDS_Developer-Site/en_US/-/USD/VerifyItem-Start/jre-6u20-linux-x64.bin?BundledLineItemUUID=2SBIBe.l7pwAAAEoC7loLQ.4&OrderID=NFBIBe.lrLcAAAEo.LhoLQ.4&ProductID=IoBIBe.pW8EAAAEnt3oZAPYl&FileName=/jre-6u20-linux-x64.bin" target="_blank">http://cds.sun.com/is-bin/INTERSHOP.enfinity/WFS/CDS-CDS_Developer-Site/en_US/-/USD/VerifyItem-Start/jre-6u20-linux-x64.bin?BundledLineItemUUID=2SBIBe.l7pwAAAEoC7loLQ.4&OrderID=NFBIBe.lrLcAAAEo.LhoLQ.4&ProductID=IoBIBe.pW8EAAAEnt3oZAPYl&FileName=/jre-6u20-linux-x64.bin</a>><br>
2. Download JAI 1.1.3 from <a href="http://jai.dev.java.net" target="_blank">jai.dev.java.net</a><br>
<<a href="http://jai.dev.java.net" target="_blank">http://jai.dev.java.net</a>>: jai-1_1_3-lib-linux-amd64.tar.gz<br>
<<a href="http://download.java.net/media/jai/builds/release/1_1_3/jai-1_1_3-lib-linux-amd64.tar.gz" target="_blank">http://download.java.net/media/jai/builds/release/1_1_3/jai-1_1_3-lib-linux-amd64.tar.gz</a>><br>
<br>
3. Download ImageIO 1.1 from <a href="http://imageio.dev.java.net" target="_blank">imageio.dev.java.net</a><br>
<<a href="http://imageio.dev.java.net" target="_blank">http://imageio.dev.java.net</a>>:<div class="im"><br>
jai_imageio-1_1-lib-linux-amd64.tar.gz<br></div>
<<a href="http://download.java.net/media/jai-imageio/builds/release/1.1/jai_imageio-1_1-lib-linux-amd64.tar.gz" target="_blank">http://download.java.net/media/jai-imageio/builds/release/1.1/jai_imageio-1_1-lib-linux-amd64.tar.gz</a>> 4. Download ImageIO-EXT 1.0.5 from <a href="http://imageio-ext.dev.java.net" target="_blank">imageio-ext.dev.java.net</a><br>
<<a href="http://imageio-ext.dev.java.net" target="_blank">http://imageio-ext.dev.java.net</a>>: 1. imageio-ext-1.0.5-linux64-ecw-lib.tar.gz<br>
<<a href="https://imageio-ext.dev.java.net/files/documents/7505/144612/imageio-ext-1.0.5-linux64-ecw-lib.tar.gz" target="_blank">https://imageio-ext.dev.java.net/files/documents/7505/144612/imageio-ext-1.0.5-linux64-ecw-lib.tar.gz</a>><br>
(native libraries)<br>
2. imageio-ext-1.0.5-libraries<br>
<<a href="https://imageio-ext.dev.java.net/files/documents/7505/144615/imageio-ext-1.0.5-libraries.zip" target="_blank">https://imageio-ext.dev.java.net/files/documents/7505/144615/imageio-ext-1.0.5-libraries.zip</a>><br>
(jars)<br>
3. gdal_data-1.4.5<br>
<<a href="https://imageio-ext.dev.java.net/files/documents/7505/137749/gdal_data-1.4.5.zip" target="_blank">https://imageio-ext.dev.java.net/files/documents/7505/137749/gdal_data-1.4.5.zip</a>><div class="im">
<br>
5. Unpack all files into any folder following these rules<br></div>
1. jre6u20 to any folder<br>
2. jars in JAI 1.1.3 to ../lib/ext<br>
3. *.so files in JAI 1.1.3 to ../amd64<br>
4. repeat step 5.3 for ImageIO 1.1 and ImageIO-EXT 1.0.5<br>
6. unzip gdal data and place in same folder as the jre<br>
<br>
The java target I'm using can be downloaded here <<a href="http://www.cruxd.org/download/jre1.6.0_20.linux.x86_64_gdal_ecw_mrsid.tar.gz" target="_blank">http://www.cruxd.org/download/jre1.6.0_20.linux.x86_64_gdal_ecw_mrsid.tar.gz</a>>. *<div class="im">
<br>
<br>
Note:* Although it seems to be working correctly, shouldn't the path to the native libraries in the custom jre been added to the LD_LIBRARY_PATH environment variable? The same goes for the GDAL_DATA environment variable. Is this managed automatically by the IDE/launch configuration or am I missing something here?<br>
*<br>
*Best regards,<br>
Kenneth Gulbrandsøy<br>
- Trondheim, Norway<br>
<br>
<br></div>
------------------------------------------------------------------------<div class="im"><br>
<br>
_______________________________________________<br>
User-friendly Desktop Internet GIS (uDig)<br>
<a href="http://udig.refractions.net" target="_blank">http://udig.refractions.net</a><br>
<a href="http://lists.refractions.net/mailman/listinfo/udig-devel" target="_blank">http://lists.refractions.net/mailman/listinfo/udig-devel</a><br>
</div></blockquote>
<br>
This is great Kenneth, my process for the 32bit Linux is the same, but I haven't gotten around to posting the script or doco changes.<br>
As far as adding .so's to the LD_LIBRARY_PATH, that would make them accessible to the system as a whole, but isn't actually necessary for java to find the libraries. I haven't been able to download your archives, but your procedure looks good to me. Are you able to update the instructions online? <<a href="http://udig.refractions.net/confluence/display/ADMIN/JRE+for+Linux" target="_blank">http://udig.refractions.net/confluence/display/ADMIN/JRE+for+Linux</a>><br>
<br>
--<br><font color="#888888">
Mark</font><div><div></div><div class="h5"><br>
_______________________________________________<br>
User-friendly Desktop Internet GIS (uDig)<br>
<a href="http://udig.refractions.net" target="_blank">http://udig.refractions.net</a><br>
<a href="http://lists.refractions.net/mailman/listinfo/udig-devel" target="_blank">http://lists.refractions.net/mailman/listinfo/udig-devel</a><br>
</div></div></blockquote></div><br></div></div></div>
--0016e65ae6827760a204848c6cdd--