i use blackdown-jdk 1.4.02 , sun java 1.4.2 is not for amd64 ... with..
Code: Select all
java -version
java version "1.4.2-02"
Java(TM) 2 Runtime Environment, Standard Edition (build Blackdown-1.4.2-02)
Java HotSpot(TM) 64-Bit Server VM (build Blackdown-1.4.2-02, mixed mode)
with USE="-jikes"
Code: Select all
Buildfile: build.xml
init:
build.core:
[mkdir] Created dir: /var/tmp/portage/log4j-1.2.12/work/logging-log4j-1.2.12/dist/classes
[javac] Compiling 158 source files to /var/tmp/portage/log4j-1.2.12/work/logging-log4j-1.2.12/dist/classes
[javac] javac: invalid source release: 1.1
[javac] Usage: javac <options> <source files>
[javac] where possible options include:
[javac] -g Generate all debugging info
[javac] -g:none Generate no debugging info
[javac] -g:{lines,vars,source} Generate only some debugging info
[javac] -nowarn Generate no warnings
[javac] -verbose Output messages about what the compiler is doing
[javac] -deprecation Output source locations where deprecated APIs are used
[javac] -classpath <path> Specify where to find user class files
[javac] -sourcepath <path> Specify where to find input source files [javac] -bootclasspath <path> Override location of bootstrap class files
[javac] -extdirs <dirs> Override location of installed extensions
[javac] -d <directory> Specify where to place generated class files
[javac] -encoding <encoding> Specify character encoding used by source files
[javac] -source <release> Provide source compatibility with specified release
[javac] -target <release> Generate class files for specific VM version
[javac] -help Print a synopsis of standard options
BUILD FAILED
/var/tmp/portage/log4j-1.2.12/work/logging-log4j-1.2.12/build.xml:215: Compile failed; see the compiler error output for details.
Total time: 1 second
!!! ERROR: dev-java/log4j-1.2.12 failed.
!!! Function src_compile, Line 44, Exitcode 1
!!! compilation error
!!! If you need support, post the topmost build error, NOT this status message.
with jikes
Code: Select all
Buildfile: build.xml
init:
build.core:
[mkdir] Created dir: /var/tmp/portage/log4j-1.2.12/work/logging-log4j-1.2.12/dist/classes
[javac] Compiling 158 source files to /var/tmp/portage/log4j-1.2.12/work/logging-log4j-1.2.12/dist/classes
[javac] Error: "-source" only recognizes Java releases 1.3 (JLS 2 features) and 1.4 (assert statement).
[javac] use: jikes [options] [@files] file.java...
[javac] For more help, try -help or -version.
BUILD FAILED
/var/tmp/portage/log4j-1.2.12/work/logging-log4j-1.2.12/build.xml:215: Compile failed; see the compiler error output for details.
Total time: 1 second
!!! ERROR: dev-java/log4j-1.2.12 failed.
!!! Function src_compile, Line 44, Exitcode 1
!!! compilation error
!!! If you need support, post the topmost build error, NOT this status message.