Make sure you don't have an explicit JRE profile things for your product. If it says something like JAVA 5 or JAVA 6 you will only get that part of the JRE (and not the JAI extension).
-- Jody Garnett On Tuesday, 13 September 2011 at 6:54 AM, hasini K wrote: > Hi, > i am getting the same problem when i tried to export the plugin on eclipse > which uses jai. > > On Mon, Sep 12, 2011 at 11:10 PM, Jody Garnett <[email protected] > (mailto:[email protected])> wrote: > > When you run you need to have the instructions to set it to use the "ext" > > class path. That is the class path that uses the JRE and the JRE > > Extensions. > > > > I filled in the details for you here: > > - http://udig.refractions.net/confluence/display/DEV/1+SDK+Quickstart > > > > But you can see the command line option in the screen snap on that page. > > > > This should of been filled in by the udig.product file? The SDK quickstart > > has all the details with a bit more information in the Custom App tutorial. > > > > > > -- > > Jody Garnett > > > > > > On Monday, 12 September 2011 at 6:36 AM, Joaquín Rodriguez-Guerra Urcelay > > wrote: > > > > > What I did to test this was : > > > -donwload udig sdk and udig jre > > > - open eclipse > > > - set the jre to udig jre > > > - set the target to udig sdk > > > - import plugin source net.refractions.udig > > > - Run an eclipse instance with this plugin > > > - Open the catalog view, add the JPG file to a map > > > - java.lang.NoClassDefFoundError: javax/media/jai/JAI !!!! > > > > > > Does it right a bell?? Thank you!!! > > > > > > Regards, > > > > > > Joaquín > > > > > > > > > ______________________ > > > This message including any attachments may contain confidential > > > information, according to our Information Security Management System, > > > and intended solely for a specific individual to whom they are addressed. > > > Any unauthorised copy, disclosure or distribution of this message > > > is strictly forbidden. If you have received this transmission in error, > > > please notify the sender immediately and delete it. > > > > > > ______________________ > > > Este mensaje, y en su caso, cualquier fichero anexo al mismo, > > > puede contener informacion clasificada por su emisor como confidencial > > > en el marco de su Sistema de Gestion de Seguridad de la > > > Informacion siendo para uso exclusivo del destinatario, quedando > > > prohibida su divulgacion copia o distribucion a terceros sin la > > > autorizacion expresa del remitente. Si Vd. ha recibido este mensaje > > > erroneamente, se ruega lo notifique al remitente y proceda a su borrado. > > > Gracias por su colaboracion. > > > > > > ______________________ > > > > > > _______________________________________________ > > > User-friendly Desktop Internet GIS (uDig) > > > http://udig.refractions.net (http://udig.refractions.net/) > > > http://lists.refractions.net/mailman/listinfo/udig-devel > > > > > > _______________________________________________ > > User-friendly Desktop Internet GIS (uDig) > > http://udig.refractions.net (http://udig.refractions.net/) > > http://lists.refractions.net/mailman/listinfo/udig-devel > > > > > > -- > Thanks, > hasini > _______________________________________________ > 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
