building icedtea-7 on ARM
Grant
emailgrant at gmail.com
Sat Mar 1 13:42:55 PST 2014
>> Is this compiling for anyone else on ARM? Any idea on my error?
>>
>> [javac] Exception in thread "main" java.lang.NoSuchMethodError:
>> java.util.Locale.getDefault(Ljava/util/Locale$Category;)Ljava/util/Locale;
>>
> I think this may be related to the build VM. I'll try and replicate it next week,
> but in the meantime, you could try using JAVA_PKG_FORCE_VM=gcj-jdk.
I think that worked but now I'm back to an error I recognize from
previously. Should the ebuild in Gentoo's java overlay be up to date
and working? Here's the error:
touch stamps/add-tzdata-support-boot.stamp
mkdir -p /var/tmp/portage/dev-java/icedtea-7.9999/work/icedtea-9999/cryptocheck.build
/var/tmp/portage/dev-java/icedtea-7.9999/work/icedtea-9999/bootstrap/jdk1.6.0/bin/javac
-g -encoding utf-8 -source 7 -target 7 \
-d /var/tmp/portage/dev-java/icedtea-7.9999/work/icedtea-9999/cryptocheck.build
./TestCryptoLevel.java
Annotation processing got disabled, since it requires a 1.6 compliant JVM
mkdir -p stamps
touch stamps/cryptocheck.stamp
if [ -e /var/tmp/portage/dev-java/icedtea-7.9999/work/icedtea-9999/openjdk.build-boot/j2sdk-image/bin/java
] ; then \
/var/tmp/portage/dev-java/icedtea-7.9999/work/icedtea-9999/openjdk.build-boot/j2sdk-image/bin/java
-cp /var/tmp/portage/dev-java/icedtea-7.9999/work/icedtea-9999/cryptocheck.build
TestCryptoLevel ; \
fi
Exception in thread "main" java.lang.NullPointerException
at java.lang.Throwable.fillInStackTrace(Throwable.java:783)
at java.lang.Throwable.<init>(Throwable.java:250)
at java.lang.Exception.<init>(Exception.java:54)
at java.lang.RuntimeException.<init>(RuntimeException.java:51)
at java.lang.NullPointerException.<init>(NullPointerException.java:60)
at TestCryptoLevel.main(TestCryptoLevel.java:46)
make: *** [stamps/check-crypto-boot.stamp] Error 1
- Grant
More information about the distro-pkg-dev
mailing list