Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [udig-devel] Running uDig on Linux x64

Yes, it seems okay. The archive untars without problem after download. Added a more 'windows friendly' zip version also. Change the url ending from '.tar.gz' to '.zip' and try again :-)

http://www.cruxd.org/download/jre1.6.0_20.linux.x86_64_gdal_ecw_mrsid.zip

Kenneth

2010/4/18 Jody Garnett <jody.garnett@xxxxxxxxx>
Woot! Nice work Kenneth:

What you did sounds okay to me - but my opinion is suspect since I always find a creative way to break things when setting up the easier win32 jre.
We will need to ask Mark Leslie when he is in tomorrow; and update the wiki instructions.

I will download you jre now and combine it with the udig and see if it works..... Opps!

When trying to unpack the file on a mac I get the following error:

"Unable to unarchive "jre1.6.0_20.linux.x86_64_gdal_ecw_mrsid.tar" into "build".

So it was able to extract the "gz" extension; but not the "tar" extension; can you confirm the archive is sound on your end?

Jody


On 18/04/2010, at 7:30 PM, Kenneth Gulbrandsoy wrote:

Hi!

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).

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. 

Could anyone verify that the following procedure will generate a sound java target for the x86_64 linux platform?

  1. Download jre6u20 from java.sun.com: jre-6u20-linux-x64.bin
  2. Download JAI 1.1.3 from jai.dev.java.net: jai-1_1_3-lib-linux-amd64.tar.gz
  3. Download ImageIO 1.1 from imageio.dev.java.net: jai_imageio-1_1-lib-linux-amd64.tar.gz 
  4. Download ImageIO-EXT 1.0.5 from imageio-ext.dev.java.net
    1. imageio-ext-1.0.5-linux64-ecw-lib.tar.gz (native libraries)
    2. imageio-ext-1.0.5-libraries (jars)
    3. gdal_data-1.4.5
  5. Unpack all files into any folder following these rules
    1. jre6u20 to any folder
    2. jars in JAI 1.1.3  to ../lib/ext
    3. *.so files in JAI 1.1.3 to ../amd64
    4. repeat step 5.3 for ImageIO 1.1 and ImageIO-EXT 1.0.5
  6. unzip gdal data and place in same folder as the jre
The java target I'm using can be downloaded here.

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?

Best regards,
Kenneth Gulbrandsøy
- Trondheim, Norway
_______________________________________________
User-friendly Desktop Internet GIS (uDig)
http://udig.refractions.net
http://lists.refractions.net/mailman/listinfo/udig-devel


_______________________________________________
User-friendly Desktop Internet GIS (uDig)
http://udig.refractions.net
http://lists.refractions.net/mailman/listinfo/udig-devel



Back to the top