Thanks Jeremias! I had both the sun version and the gij version installed and indeed I used gij as JAVA_CMD. Changing that to the sun java solves the problem.
Does this mean that gij won't work at all in this case or is it a matter fine tuning the installation? anyway, you saved my day! Ruud On 01/10/2009, Jeremias Maerki <[email protected]> wrote: > Hmm, that is usually a class loader problem. But you say you're on > Debian and you're running from the command-line. In that case please > make sure you have a Sun JDK or OpenJDK installed. There's a good chance > that you're currently running of GCJ or something like that and that > doesn't work as expected. > > On 01.10.2009 14:58:07 ruud grosmann wrote: >> hi forum, >> >> I hope you can help me on this one: >> I use fop 0.95 from the debian testing package, kernel 2.6.26-2-686 >> >> I can't seem to load images with fop, I keep getting 'no >> imagepreloader found'. I have saved the file in tif, png, jpg, gif >> format and tried all those formats, but they all give the same error. >> Following is the output from a run with three fo:external-image >> elements, of which the third references a non existing file. Just to >> check if the first two are found >> >> >> In my fo file: >> <fo:table-cell vertical-align='top'> >> <fo:block> >> <fo:external-graphic src='url(img/dag_icoon.jpg)'/> >> </fo:block> >> </fo:table-cell> >> >> >> rd...@pc002250z fop -c fop.xconf tabel2.fo tabel2.pdf >> >> 1-Oct-09 2:48:08 PM org.apache.fop.apps.FopFactoryConfigurator configure >> INFO: Default page-height set to: 11in >> 1-Oct-09 2:48:08 PM org.apache.fop.apps.FopFactoryConfigurator configure >> INFO: Default page-width set to: 8.26in >> 1-Oct-09 2:48:09 PM org.apache.fop.fo.FONode attributeWarning >> WARNING: Warning(128/20): fo:table, table-layout="auto" is currently >> not supported by FOP >> 1-Oct-09 2:48:09 PM org.apache.fop.fo.flow.ExternalGraphic bind >> SEVERE: Image not available: No ImagePreloader found for img/dag_icoon.gif >> 1-Oct-09 2:48:09 PM org.apache.fop.fo.flow.ExternalGraphic bind >> SEVERE: Image not available: No ImagePreloader found for img/dag_icoon.jpg >> 1-Oct-09 2:48:09 PM org.apache.fop.fo.flow.ExternalGraphic bind >> SEVERE: Image not found: img/icoon.jpg >> rd...@pc002250z >> >> The same error results from svg, tif and png image references. >> Is there anything I have to install to get ghis working? >> >> Thanks for your help, Ruud >> > > > > > Jeremias Maerki > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
