Hello,
   We are trying to use iText on HP-UX 11 with java version "1.2.2.14"
Classic VM (build 1.2.2.14-02/11/20-PA_RISC1.1, native threads, HP),
all of the required HP java patches have been installed.
 
We are using the following command to compile the sample Chap0101.java source file - but unfortunately we get three errors as listed below.
What can we do to overcome this?
 
We can compile and run the sample Chap0101.java source file OK on Windows 2000. If we use the .class file compiled on Windows on HP-UX we get ""SIGSEGV   11*  segmentation violation" errors.
 
 
# /opt/java1.2/bin/PA_RISC/native_threads/javac -sourcepath /software/data/java -classpath ./itext-0.99.jar Chap0101.java

/software/data/java/com/lowagie/text/pdf/PdfEncodings.java:279: Incompatible type for array. Explicit cast needed to convert char to byte.
    public static final byte CRLF_CID_NEWLINE[][] = new byte[][]{{'\n'}, {'\r', '\n'}};
                                                                 ^
/software/data/java/com/lowagie/text/pdf/PdfEncodings.java:279: Incompatible type for array. Explicit cast needed to convert char to byte.
    public static final byte CRLF_CID_NEWLINE[][] = new byte[][]{{'\n'}, {'\r', '\n'}};
                                                                         ^
/software/data/java/com/lowagie/text/pdf/ByteBuffer.java:75: Incompatible type for array. Explicit cast needed to convert char to byte.
    private static final byte[] bytes = new byte[] {'0', '1', '2', '3', '4', '5', '6', '7', '8', '9',
                                                   ^
3 errors
 
 
Regards;
MP


Do you Yahoo!?
Free online calendar with sync to Outlook(TM).

Reply via email to