[Live-demo] [OSGeo] #922: udig includes a custom java jvm

OSGeo trac_osgeo at osgeo.org
Sat Jul 21 11:08:13 PDT 2012


#922: udig includes a custom java jvm
---------------------+------------------------------------------------------
 Reporter:  kalxas   |       Owner:  live-demo@…              
     Type:  defect   |      Status:  new                      
 Priority:  major    |   Milestone:                           
Component:  LiveDVD  |    Keywords:  6.0, udig, java          
---------------------+------------------------------------------------------

Comment(by fgdrf):

 udig starts but every part of the quickstart would fail because of
 Exceptions (!NoClassDefFoundError : javax/media/jai/JAI) during render
 process. Shapefiles and raster datasets were not rendered.

 Solution : copy $UDIG_HOME/jre/lib/ext/jai_*.jar
 /usr/lib/jvm/java-7-openjdk-i386/jre/lib/ext/

 I also tested the uDig quickstart and everything was fine after the
 configuration of open-jdk-7 with jai libs.

 '''Questions''':[[BR]]

  * Where did you updated the install scrips to remove the jre from
 UDIG_HOME?
  * How can the script resolve the installation folder of open-jdk-7 ?

 Here is my patch to remove bundled jre and make use of open-jdk-7, note
 that I used the hard coded JAVA_INSTALL_FOLDER to know where to copy the
 libs to : [attachment:install_udig.patch]

-- 
Ticket URL: <http://trac.osgeo.org/osgeo/ticket/922#comment:6>
OSGeo <http://www.osgeo.org/>
OSGeo committee and general foundation issue tracker.


More information about the Osgeolive mailing list