This doesn't execute when using jre-6u20-windows-i586, the current release. I see all the comments about using 1.4.2 and would happily install it in a separate directory, biut the Sun site says it is end-of-life and I can't find an installer.
I found a way to launch delineate with java 6, I downloaded the xalan-java package from http://www.apache.org/dyn/closer.cgi/xml/xalan-j
then I put the org directory (xalan-java/xalan/org/) inside the delineate jar archive merging the directory with the already existing one. I hope this may help.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Thanks - that went some way to making it work - I can now execute potrace, but when I try autotrace (on the default test image) it crashes:
java.io.IOException: Premature end of file.
at org.apache.batik.dom.util.SAXDocumentFactory.createDocument(Unknown Source)
at org.apache.batik.dom.util.SAXDocumentFactory.createDocument(Unknown Source)
at org.apache.batik.dom.svg.SAXSVGDocumentFactory.createDocument(Unknown Source)
at org.apache.batik.dom.svg.SAXSVGDocumentFactory.createSVGDocument(Unknown Source)
at org.apache.batik.bridge.DocumentLoader.loadDocument(Unknown Source)
at org.apache.batik.swing.svg.SVGDocumentLoader.run(Unknown Source)
[I wasn't sure if I mis-read your instructions - there was no existing 'org' directory in delineate.jar to merge the one from xalan with. I did put the org hierarchy in the delineate.jar file anyway and got a lot further, so I guessed that was what you meant. (ie merge the jars, notr merge the orgs)]
Thanks for the help, at least I have somewhere to start from now,
Graham
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Sorry Graham, I was wrong , I already had the folder org because I had previously changed the jar file, however your procedure is correct.
I am using autotrace and it works well, then maybe you can try a different java version or a different java package.
Last edit: Anonymous 2013-10-11
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
View and moderate all "bugs Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Bugs"
I found a way to launch delineate with java 6, I downloaded the xalan-java package from
http://www.apache.org/dyn/closer.cgi/xml/xalan-j
then I put the org directory (xalan-java/xalan/org/) inside the delineate jar archive merging the directory with the already existing one. I hope this may help.
Thanks - that went some way to making it work - I can now execute potrace, but when I try autotrace (on the default test image) it crashes:
java.io.IOException: Premature end of file.
at org.apache.batik.dom.util.SAXDocumentFactory.createDocument(Unknown Source)
at org.apache.batik.dom.util.SAXDocumentFactory.createDocument(Unknown Source)
at org.apache.batik.dom.svg.SAXSVGDocumentFactory.createDocument(Unknown Source)
at org.apache.batik.dom.svg.SAXSVGDocumentFactory.createSVGDocument(Unknown Source)
at org.apache.batik.bridge.DocumentLoader.loadDocument(Unknown Source)
at org.apache.batik.swing.svg.SVGDocumentLoader.run(Unknown Source)
[I wasn't sure if I mis-read your instructions - there was no existing 'org' directory in delineate.jar to merge the one from xalan with. I did put the org hierarchy in the delineate.jar file anyway and got a lot further, so I guessed that was what you meant. (ie merge the jars, notr merge the orgs)]
Thanks for the help, at least I have somewhere to start from now,
Graham
View and moderate all "bugs Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Bugs"
Sorry Graham, I was wrong , I already had the folder org because I had previously changed the jar file, however your procedure is correct.
I am using autotrace and it works well, then maybe you can try a different java version or a different java package.
Last edit: Anonymous 2013-10-11