Do speców od Javy
Marcin 'Qrczak' Kowalczyk
qrczakmk w gmail.com
Pią, 2 Mar 2007, 16:49:21 CET
Założenie: java-sun-1.6.0-6.athlon
1. jython się nie buduje:
+ /usr/lib/jvm/java/bin/java -classpath . jython-21 -o . demo lib source
Exception in thread "main" java.lang.ClassFormatError: Extra bytes at the end of class file jython-21
2. "./builder ant.spec --without apache_bsf" (without ze względu na brak
jythona) się nie buduje:
/usr/bin/build-classpath jaxp_parser_impl junit antlr resolver commons-logging commons-net bcel log4j oro regexp mailapi activation jsch NetRexxC
/usr/bin/build-classpath: error: Could not find resolver Java extension for this JVM
Obejście: --without apache_resolver
3. logging-log4j się nie buduje:
build.core:
[javac] Compiling 158 source files
to /home/users/qrczak/rpm/BUILD/logging-log4j-1.2.14/dist/classes
[javac] javac: invalid source release: 1.1
[javac] Usage: javac <options> <source files>
[javac] use -help for a list of possible options
4. java-gnu-activation się nie buduje:
/usr/lib/jvm/java/bin/javac -classpath classes:./source -d classes source/javax/activation/MimeType.java
source/javax/activation/MimeType.java:262: cannot find symbol
symbol : constructor MimeTypeParseException(java.lang.String,java.lang.String)
location: class javax.activation.MimeTypeParseException
throw new MimeTypeParseException(message, token);
^
source/javax/activation/MimeType.java:269: cannot find symbol
symbol : constructor MimeTypeParseException(java.lang.String,java.lang.String)
location: class javax.activation.MimeTypeParseException
throw new MimeTypeParseException(message, token);
^
5. batik się nie buduje (ani snapshot w naszym CVS, ani wersja 1.6):
/home/users/qrczak/rpm/BUILD/xml-batik/sources/org/apache/batik/svggen/ImageCacher.java:251: non-static variable this cannot be referenced from a static context
return new ImageCacheEntry(checksum, data, SIGN_POUND + id);
^
/home/users/qrczak/rpm/BUILD/xml-batik/sources/org/apache/batik/svggen/ImageCacher.java:377: non-static variable this cannot be referenced from a static context
return new ImageCacheEntry(checksum, imageFile, imageFile.getName());
^
--
__("< Marcin Kowalczyk
\__/ qrczak w knm.org.pl
^^ http://qrnik.knm.org.pl/~qrczak/
Więcej informacji o liście dyskusyjnej pld-devel-pl