Hi
I ve a kind of problem to execute a converting tool to modify a pdf to an html under Linux. In fact, i have an executable "pdftohtml" which work correctly on batch mode, and when I want to use it through Java under Windows 2000 works also,BUT it does not work at all on the server under linux. I m using the following code....
you've got to read the processes stdout and stderr while the process is running. If you don't read those streams the process will block after it wrote some (about 8k) bytes to ist's stdout/stderr.
We're using pdftotext as well, because PDFbox ist really slow. If your application should work under Windows you will probably experiance some mystic Java-VM crashes while executing external processes in batch-mode. (This is because of a bug in Windows-VM... we implemented out own Process with JNI to compensate this bug).
Greetings, Kristian
-- ACRONYM: Acronym Causing Recursion, Obviously Numbing Your Mind
Kristian Hermsdorf
Interface Projects GmbH Tolkewitzer Straße 49 01277 Dresden
tel.: ++49-351-3 18 09 39
mail: [EMAIL PROTECTED] priv: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]