openSUSE 12.1 does not come with SUN Java now (some kind of license issue according to them) and javac can not be found in any of the other JVM/JDK packages that are installed. So I installed the latest Oracle JAVA JDK and added the location to the LocalConfig.kmk.

VBOX_JAVA_HOME := /usr/java/jdk1.7.0_01

Note: During pre-release they did have the SUN JDK and it did in fact work, but the release version does not.

Strange things seem to be happening and wondered if anyone has seen this.



Here are the error messages which forces a failure.


/trunk/out/linux.amd64/release/obj/vboxjxpcom-gen/jxpcomgen/java/glue/Helper.java:123: error: name clash: unwrap(List<Integer>) and unwrap(List<Short>) have the same erasure
    public static int[] unwrap(List<Integer> vals) {
                        ^
/trunk/out/linux.amd64/release/obj/vboxjxpcom-gen/jxpcomgen/java/glue/Helper.java:135: error: name clash: unwrap(List<Long>) and unwrap(List<Short>) have the same erasure
    public static long[] unwrap(List<Long> vals) {
                         ^
/trunk/out/linux.amd64/release/obj/vboxjxpcom-gen/jxpcomgen/java/glue/Helper.java:147: error: name clash: unwrap(List<Boolean>) and unwrap(List<Short>) have the same erasure
    public static boolean[] unwrap(List<Boolean> vals) {
                            ^
/trunk/out/linux.amd64/release/obj/vboxjxpcom-gen/jxpcomgen/java/glue/Helper.java:159: error: name clash: unwrap(List<String>) and unwrap(List<Short>) have the same erasure
    public static String[] unwrap(List<String> vals) {
                           ^
kBuild: Compiling VBox-xpcom-nspr - /trunk/src/libs/xpcom18a4/nsprpub/pr/src/malloc/prmem.c kBuild: Compiling VBox-xpcom-nspr - /trunk/src/libs/xpcom18a4/nsprpub/pr/src/md/prosdep.c kBuild: Compiling VBox-xpcom-nspr - /trunk/src/libs/xpcom18a4/nsprpub/pr/src/memory/prseg.c kBuild: Compiling VBox-xpcom-nspr - /trunk/src/libs/xpcom18a4/nsprpub/pr/src/memory/prshm.c kBuild: Compiling VBox-xpcom-nspr - /trunk/src/libs/xpcom18a4/nsprpub/pr/src/memory/prshma.c kBuild: Compiling VBox-xpcom-nspr - /trunk/src/libs/xpcom18a4/nsprpub/pr/src/misc/pralarm.c kBuild: Compiling VBox-xpcom-nspr - /trunk/src/libs/xpcom18a4/nsprpub/pr/src/misc/pratom.c kBuild: Compiling VBox-xpcom-nspr - /trunk/src/libs/xpcom18a4/nsprpub/pr/src/misc/prcountr.c
4 errors
1 warning
kmk: *** [/trunk/out/linux.amd64/release/obj/VBoxJXpcom-inst-jar/vboxjxpcom.jar] Error 1
kmk: *** Waiting for unfinished jobs....
kmk: *** Exiting with status 2
suse@suse-121:~>

_______________________________________________
vbox-dev mailing list
[email protected]
https://www.virtualbox.org/mailman/listinfo/vbox-dev

Reply via email to