I think i have figured out the manifest problem, only now it cannot load my
svg.
It loads it fine when launched from eclipse, but when I try to run the jar
it says it cannot find the svg file.

the code i am using is simply:

URL url = getClass().getClassLoader().getResource(path);

where path is the relative path to my .svg file.

The path is correct (I have checked numerous times) however it fails to find
the svg. Is there a special way in which i must load .svg files within a jar
file?

thanks for the help.

-- 
View this message in context: 
http://www.nabble.com/Trouble-running-jar-with-batik.-tp15189592p15208586.html
Sent from the Batik - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to