Hi again Today i stroucle a little with this same problem.
I notice that my program load plugins always on same order (case when jai works and the case where it did not works). I also notice that it will use always same jre. Then i'll try to run program without to add geotiff layer automatically when my program starts and creates a mapviewer part. but when i add geotiff layer automatically when my program starts and creates a mapviewer part then it throws javax.media.jai.JAI classdefnotfound (cannot initialize jai). Could this happend when mapviewer loads crs on geotiff and add it to viewer? - Juho ----- Original Message ----- From: "Juho Kokkonen" <[email protected]> To: "User-friendly Desktop Internet GIS" <[email protected]> Sent: Wednesday, July 25, 2012 9:37:33 PM Subject: Re: [udig-devel] Map viewer and jai Hi Jody a) yes i have JAI installed on my jre path jre/lib/ext, i use udig download section downloaded and extracted jre version. b) no i haven't Jai on my system jre, but for me it looks that my application will always load jre under my program folder ( and there is jre downloaded from udig site's). - Juho ----- Original Message ----- From: "Jody Garnett" <[email protected]> To: "User-friendly Desktop Internet GIS" <[email protected]> Sent: Tuesday, July 24, 2012 9:47:16 AM Subject: Re: [udig-devel] Map viewer and jai uDig expects JAI to come from your JRE. In your application do you: a) have a "jre" folder with the JAI installed? or b) have JAI installed in your system JRE You can check what version of Java your application is running using the about dialog -> installation details and check the "configuration" tab. -- Jody Garnett On Thursday, 19 July 2012 at 5:24 PM, Juho Kokkonen wrote: Hello I have been using mapviewer on my rcp application. Now i have faced weird problem sometimes when i start my software i get noclassdeffound error on jai. I have added dosgi parentclassloader=ext on my product file Cheers Juho I've using udig 1.2 and 1.6.18 jre what i have been loaded on your site. _______________________________________________ User-friendly Desktop Internet GIS (uDig) http://udig.refractions.net http://lists.refractions.net/mailman/listinfo/udig-devel _______________________________________________ User-friendly Desktop Internet GIS (uDig) http://udig.refractions.net http://lists.refractions.net/mailman/listinfo/udig-devel _______________________________________________ User-friendly Desktop Internet GIS (uDig) http://udig.refractions.net http://lists.refractions.net/mailman/listinfo/udig-devel _______________________________________________ User-friendly Desktop Internet GIS (uDig) http://udig.refractions.net http://lists.refractions.net/mailman/listinfo/udig-devel
