Guten Morgen,
hast du beides aus dem gleichen Arbeitsverzeichnis heraus
versucht?
Von Java aus wird die ‚Environment‘-Variable gefüllt, die das entsprechende Verzeichnis als ‚Working‘-Verzeichnis gespeichert hat.
Von der Kommandozeile aus funktioniert das. Egal von welchen Verzeichnis aus ich das starte.
Was mir noch aufgefallen ist …
In der Kommandozeile kommt vom GS folgende Ausgabe. Die ist im Java im StdInBuffer auch vorhanden.
Vielleich hat es was damit zu tun, aber eigentlich mach doch Java auch nichts anderes, als den Befehl über die JRE auszuführen.
**** Warning: CS/cs (setcolorspace) operand not a name: [/ICCBased {277 0 res
olveR}] ****
**** Warning: CS/cs (setcolorspace) operand not a name: [/ICCBased -dict-] **
**
**** Warning: CS/cs (setcolorspace) operand not a name: [/ICCBased -dict-] **
**
**** Warning: CS/cs (setcolorspace) operand not a name: [/ICCBased -dict-] **
**
**** Warning: CS/cs (setcolorspace) operand not a name: [/ICCBased -dict-] **
**
**** Warning: CS/cs (setcolorspace) operand not a name: [/ICCBased -dict-] **
**
**** Warning: CS/cs (setcolorspace) operand not a name: [/ICCBased -dict-] **
**
**** Warning: CS/cs (setcolorspace) operand not a name: [/ICCBased -dict-] **
**
**** Warning: CS/cs (setcolorspace) operand not a name: [/ICCBased -dict-] **
**
**** Warning: CS/cs (setcolorspace) operand not a name: [/ICCBased -dict-] **
**
**** Warning: CS/cs (setcolorspace) operand not a name: [/ICCBased -dict-] **
**
**** Warning: CS/cs (setcolorspace) operand not a name: [/ICCBased -dict-] **
**
**** Warning: CS/cs (setcolorspace) operand not a name: [/ICCBased -dict-] **
**
**** Warning: CS/cs (setcolorspace) operand not a name: [/ICCBased -dict-] **
**
**** Warning: CS/cs (setcolorspace) operand not a name: [/ICCBased -dict-] **
**
**** Warning: CS/cs (setcolorspace) operand not a name: [/ICCBased -dict-] **
**
**** Warning: CS/cs (setcolorspace) operand not a name: [/ICCBased -dict-] **
**
**** Warning: CS/cs (setcolorspace) operand not a name: [/ICCBased -dict-] **
**
**** This file had errors that were repaired or ignored.
**** The file was produced by:
**** >>>> iText 2.1.2 (by lowagie.com)