Christian Geisert wrote:
You could try "fop list.fo list.pdf" (with quotes)
Not a very good idea on Win95/98/ME (or any other system), it
searches for a command file
fop list.fo list.pdf.exe
(with spaces)
On Win95/98/ME, the command processor feeds the whole command
line in one piece to the applications, therefore the JRE parses
the command line. Either there is a bug in the parser, or the
command processor appends some ugly invisible character. It's
been years since i last delat with DOS based systems, but I
believe the command line gets a \r\n ant the end, perhaps
the JRE doesn't count the \r as white space and passes it as
parameter.
It would help to run a test program to see what happens:
public class TestC {
static final char[] hex={'0','1','2','3','4','5','6','7',
'8','9','A','B','C','D','E','F'};
static public void main(String[] arg) {
for( int i=0;i<arg.length;i++ ) {
byte[] b=arg[i].getBytes();
for( int j=0;j<b.length;j++ ) {
System.out.print(""+hex[b[j]/16]+hex[b[j]%16]+' ');
}
System.out.println();
}
}
}
J.Pietschmann