Hi Vijay,
Vijay Kumar V wrote:
I'm using jdk 1.4.1 with batik 1.5
I would upgrade at least to 1.5.1 or if you can wait for about a week we will probably have batik 1.6 released (assuming PMC vote continues to go w/o a problem). Unfortunately I can't think of anything in these releases that would cause this.
No error message ......... just creates the file.... with 0 bytes and just returns. Same code with same svg content works on Red Hat linux 7 and windows environment.....
Sorry, I'm out of ideas. You probably need to start 'debugging' Batik to narrow down where the failure is occurring.
I'm not sure and coudn't find enough information about "headless" mode on net. Please let me know what i need to do abt this...
Setting the java.awt.headless property is what I was referring to. I normally see this given on the java command line rather than in the program but as long as it is done right at startup I think you would be ok.
Note: though i'm not sure, i did set the headless property in my class
to true with this line..
System.setProperty("java.awt.headless", "true");
Thanks, Vijay On Apr 6, 2005 3:14 PM, Thomas DeWeese <[EMAIL PROTECTED]> wrote:
Hi Vijay,
Vijay Kumar V wrote:
I have been using batik to generate JPEG images from SVG.
The code works fine, however, the same jar fails to work on RedHat Linux ES 3.0 environment.
What version of Batik? What version of Java?
The code comes upto transcode(input, output) and just returns without any exception.
Does it print anything on the 'console'?
The image file gets created, but with 0 bytes.
Please help me...
Unless you can narrow it down some more I don't think I can, other than suggest you try a more recent version of Batik (assuming there is one).
Do you have the JVM/server setup to run in 'headless' mode?
--------------------------------------------------------------------- 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]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
