[udig-devel] JAI not found

Jürgen Jacob zoid.berg at gmx.de
Wed May 28 23:46:35 PDT 2008


Dear all,

I've set up a little demo application integrating uDig and some own 
viewparts and it works but I still have a problem with JAI. Showing just 
shape files is fine but when I connect to a WMS server I get this 
exception on the console:

Caused by: java.lang.NoClassDefFoundError: javax/media/jai/JAI
	at 
net.refractions.udig.render.gridcoverage.basic.GridCoverageRendererUtils.paintGraphic(GridCoverageRendererUtils.java:97)
	at 
net.refractions.udig.render.internal.gridcoverage.basic.BasicGridCoverageRenderer.doRender(BasicGridCoverageRenderer.java:69)
	... 6 more

And also the log file is filled with exceptions missing JAI classes. I 
copied all JAI-jars into jdk_home/jre/lib/ext and I did this for every 
installed jdk/jre.

I tackled this before in another project but I can't remember :-(. Do I 
have to configure something inside my IDE? Currently the project consist 
of two plugins: One builds the product and adds some own stuff. The 
second integrates uDig and a perspective with the MapEditor. Do I have 
to add the jai-jars to one of these projects?

Jürgen


More information about the udig-devel mailing list