[udig-devel] jai is driving me cray

Andrea Antonello andrea.antonello at gmail.com
Wed Apr 4 04:22:06 PDT 2007


Hi folks, I have (once again) a problem with jai:

java.lang.ClassCastException:
com.sun.media.jai.imageioimpl.ImageReadWriteSpi
	at
javax.media.jai.OperationRegistry.registerServices(OperationRegistry.java:2047)
	at
javax.media.jai.ThreadSafeOperationRegistry.registerServices(ThreadSafeOperationRegistry.java:612)
	at
javax.media.jai.OperationRegistry.initializeRegistry(OperationRegistry.java:365)
	at javax.media.jai.JAI.<clinit>(JAI.java:560)


So what is the best practice?
Udig has it bundled inside the supplied jre, but I guess also in the
libs? I read in google that the above error can appear when that one jai
installation conflicts with another jai library.

Anyone knows the real truth?
Also that anyone could please tell me the best way to keep jai only in
one place and try to be sure that no product is delivered without it?

Thanks for any advice,
Cheers,
Andrea


More information about the udig-devel mailing list