Gabriella Turek ha scritto: > I've been trying to run my program under windows and it > compiles OK but when I try to run it fails with the following > error message where I am doing a WorldImageReader.read( ) > Any ideas?
Hum, afaik that code is looking for the "ImageRead" operation, that is provided along with JAI Image I/O. Do you have it installed? (not only JAI, but also JAI Image I/O). See a guide on installing both of them here: http://docs.codehaus.org/display/GEOT/Java+Advanced+Imaging+Installation > gaby > > > compile: > run: > java.lang.IllegalArgumentException: ImageRead: No OperationDescriptor is > registered in the current operation registry under this name. > ImageRead: No OperationDescriptor is registered in the current operation > registry under this name. > at javax.media.jai.JAI.createNS(JAI.java:1070) > at javax.media.jai.JAI.create(JAI.java:973) > at > org.geotools.gce.image.WorldImageReader.read(WorldImageReader.java:453) > at GeotoolsTest.main(GeotoolsTest.java:153) > BUILD SUCCESSFUL (total time: 13 seconds) > > > ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Geotools-gt2-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
