Title: Message
Hi there!
 
I am trying to compile iText using JAVA version 1.3.1_15, as can be seen here:
 
java version "1.3.1_15"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1_15-b01)
Java HotSpot(TM) Client VM (build 1.3.1_15-b01, mixed mode)
 
Changing the compiler to a newer version is not an option. I am required to use the version 1.3.1 version.
 
During compilation, I get the following error:
 
compile:
    [javac] Compiling 207 source files to C:\projekter\iText\build\bin\classes
    [javac] C:\projekter\iText\src\com\lowagie\text\pdf\PdfGraphics2D.java:347:cannot resolve symbol
    [javac] symbol  : variable LAYOUT_LEFT_TO_RIGHT
    [javac] location: class java.awt.Font
    [javac]             drawGlyphVector(this.font.layoutGlyphVector(new FontRenderContext(new AffineTransform(), true, false), s.toCharArray(), 0, s.length(), java.awt.Font.LAYOUT_LEFT_TO_RIGHT), x, y);
    [javac]
 
            ^
    [javac] 1 error
 
BUILD FAILED
C:\projekter\iText\src\build.xml:72: The following error occurred while executing this line:
C:\projekter\iText\src\ant\compile.xml:31: Compile failed; see the compiler error output for details.
 
The field LAYOUT_LEFT_TO_RIGHT arrived in Java ver. 1.4x, and is not around in Java ver. 1.3x.
 
Is there a simple workaround here?
 
--------------------------------------------
Normann Aa. Nielsen
Software Developer
Runtime Vcon
+45-71204205 direct
[EMAIL PROTECTED]


   

 

Reply via email to