You are viewing a plain text version of this content. The canonical link for it is here.
Posted to batik-users@xmlgraphics.apache.org by Thomas E Deweese <th...@kodak.com> on 2003/06/09 13:33:36 UTC

RE: How can JSVGCanvas load svg DOM tree?

>>>>> "MD" == Marios Depountis <de...@yahoo.com> writes:

MD> I am trying to use JSVGCanvas to display an svg file, by using the
MD> setURI method but I cannot render the svg file( many exceptions
MD> appear such as java.lang.ExceptionInInitializerError). I also want
MD> to render an svg dom tree on the fly and gave it the JSVGCanvas to
MD> display, but after I used the setSVGDocument(SVGDocument doc) I
MD> still take the same exceptions.  Do you have any idea what might
MD> be the problem?

    It sounds like your Java class path is not including everything
needed.  If you are using jar files take a look at:
         http://xml.apache.org/batik/install.html#jarFiles

    If you are working from class files you need the 'classes'
directory and the 'resources' directory plus the jars in libs on your
class path.



---------------------------------------------------------------------
To unsubscribe, e-mail: batik-users-unsubscribe@xml.apache.org
For additional commands, e-mail: batik-users-help@xml.apache.org