From: Michael B. <mic...@gm...> - 2008-05-10 09:52:02
|
Hi Gabriella, Unless you have an old Mac you shouldn't need to install JAI or ImageIO. They come pre-installed as part of the OS (I'm running 10.4 on a macbook and it has both). The jars should be in /System/Library/Java/Extensions. http://developer.apple.com/releasenotes/Java/index.html#//apple_ref/doc/uid/TP30000872-TP30000425 The only JAI prob I've had with Geotools on the Mac was getting nonsense values from convolution when using anything other than a minimal kernel size. I talked about that in a recent thread. And the problem was actually fixed by turning native lib support *off* like this: Properties p = new Properties(System.getProperties()); if (p.getProperty("os.name").compareToIgnoreCase("mac os x") == 0) { p.put("com.sun.media.jai.disableMediaLib", "true"); System.setProperties(p); } Michael |