Hi Martin, https://jai.dev.java.net/binary-builds.html
needs to be installed. There is a non JAI way I think with newer GT versions, but I am no expert... Sorry, Tom Martin Tomko schrieb: > Dear All, > I was trying to build some image pyramid using the PyramidBuilder, but > without success, I even followed the tutorial at > http://docs.codehaus.org/display/GEOTDOC/Generating+Image+Pyramid+Guide > downloaded the exact same release of GT, but I keep on getting class not > found exceptions for the javax.media.jai.JAI. I do have all files that > seem related on classpath, as they came with the geotools binary build: > ... > imageio-ext-customstreams-1.0-SNAPSHOT.jar,jai_core-1.1.3.jar;jai_imageio-1.1.jar;... > > and as mentioned in the tutorial. > I am not running it from eclipse/maven or similar, just using it as a > command line tool on as erver that I have no chance to configure. I > tried on my local box, but with the same result. Does it need jai to be > installed somehow specially? > > Thanks > Martin > > Full error listing: > ... > Exception in thread "main" java.lang.NoClassDefFoundError: > javax/media/jai/JAI > at > org.geotools.utils.progress.BaseArgumentsManager.setJAIHints(BaseArgu > mentsManager.java:288) > at > org.geotools.utils.progress.BaseArgumentsManager.parseArgs(BaseArgume > ntsManager.java:225) > at > org.geotools.utils.imagepyramid.PyramidBuilder.parseArgs(PyramidBuild > er.java:641) > at > org.geotools.utils.imagepyramid.PyramidBuilder.main(PyramidBuilder.ja > va:787) > Caused by: java.lang.ClassNotFoundException: javax.media.jai.JAI > at java.net.URLClassLoader$1.run(URLClassLoader.java:200) > at java.security.AccessController.doPrivileged(Native Method) > at java.net.URLClassLoader.findClass(URLClassLoader.java:188) > at java.lang.ClassLoader.loadClass(ClassLoader.java:306) > at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:276) > at java.lang.ClassLoader.loadClass(ClassLoader.java:251) > at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319) > ... 4 more > > > ------------------------------------------------------------------------------ > Enter the BlackBerry Developer Challenge > This is your chance to win up to $100,000 in prizes! For a limited time, > vendors submitting new applications to BlackBerry App World(TM) will have > the opportunity to enter the BlackBerry Developer Challenge. See full prize > details at: http://p.sf.net/sfu/Challenge > _______________________________________________ > Geotools-gt2-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users > > ------------------------------------------------------------------------------ Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge _______________________________________________ Geotools-gt2-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
