IcedTea 1.11 on Fedora 10 - Missing java.util.Scanner

Andrew John Hughes gnu_andrew at member.fsf.org
Fri Aug 14 05:00:13 PDT 2009


2009/8/14 Michael Franz <mvfranz at gmail.com>:
> Hi,
>
> Here is the output from my Fedora 10 build with the missing
> java.util.Scanner.
>
> /home/mfranz/linux/icedtea-1.11/bootstrap/jdk1.6.0/bin/java
> -XX:-PrintVMOptions -XX:+UnlockDiagnosticVMOptions -XX:-LogVMOutput -client
> -Xmx896m -Xms128m -XX:PermSize=32m -XX:MaxPermSize=160m -jar
> /home/mfranz/linux/icedtea-1.11/openjdk-ecj/build/linux-i586/btjars/charsetmapping.jar
> ../../tools/CharsetMapping
> /home/mfranz/linux/icedtea-1.11/generated/sun/nio/cs/ext euctw \
>         ../../tools/src/build/tools/charsetmapping/GenerateEUC_TW.java
> Exception in thread "main" java.lang.NoClassDefFoundError: java.util.Scanner
>    at
> build.tools.charsetmapping.GenerateEUC_TW.getCopyright(GenerateEUC_TW.java:47)
>    at
> build.tools.charsetmapping.GenerateEUC_TW.genEUC_TW(GenerateEUC_TW.java:43)
>    at build.tools.charsetmapping.Main.main(Main.java:48)
> make[5]: ***
> [/home/mfranz/linux/icedtea-1.11/generated/sun/nio/cs/ext/IBM037.java] Error
> 1
> make[5]: Leaving directory
> `/home/mfranz/linux/icedtea-1.11/openjdk-ecj/jdk/make/sun/nio'
> make[4]: *** [all] Error 1
> make[4]: Leaving directory
> `/home/mfranz/linux/icedtea-1.11/openjdk-ecj/jdk/make/sun'
> make[3]: *** [all] Error 1
> make[3]: Leaving directory
> `/home/mfranz/linux/icedtea-1.11/openjdk-ecj/jdk/make'
> make[2]: *** [jdk-build] Error 2
> make[2]: Leaving directory `/home/mfranz/linux/icedtea-1.11/openjdk-ecj'
> make[1]: *** [build_product_image] Error 2
> make[1]: Leaving directory `/home/mfranz/linux/icedtea-1.11/openjdk-ecj'
> make: *** [stamps/icedtea-ecj.stamp] Error 2
>
>
> The output from configure for the Scanner check is here:
> checking if java.util.Scanner is missing... Exception in thread "main"
> java.lang.NoClassDefFoundError: java.util.Scanner
>    at Test.main(Test.java:7)
> no
> checking if java.util.Scanner exhibits Classpath bug 40630... yes
>
> I wonder if the Classpath bug is over-riding the Scanner check.
>
> Michael
>

Ok, that first check should be saying yes and the second (bug 40630)
shouldn't run.

Can you check what output is given in config.log for these tests (if
any)?  It looks like the javac+java you are using with configure is
different from what is actually building OpenJDK.
-- 
Andrew :-)

Free Java Software Engineer
Red Hat, Inc. (http://www.redhat.com)

Support Free Java!
Contribute to GNU Classpath and the OpenJDK
http://www.gnu.org/software/classpath
http://openjdk.java.net

PGP Key: 94EFD9D8 (http://subkeys.pgp.net)
Fingerprint: F8EF F1EA 401E 2E60 15FA  7927 142C 2591 94EF D9D8



More information about the distro-pkg-dev mailing list