icedtea: Make shared state friendly

icedtea-native encodes absolute build time classpaths which wont
work in sstate however at same time we can override it with env
variables like BOOTCLASSPATH and LD_LIBRARY_PATH to reflect current
build environment.

Secondly, exclude ICEDTEA_PARALLEL_MAKE from shared state signatures, it
can alter signatures if PARALLEL_MAKE value between producer and
consumer of sstate is not matching.

Now that icedtea7-native is shared state safe, remove the shared state
invalidation on jamvm-native that was needed for icedtea7-native to
build

Signed-off-by: Khem Raj <raj.khem@gmail.com>
java-library.bbclass: consider multilib

when multilib is enabled the prefix begins with lib32-
and thats got wrong when computing JPN. Lets make sure
that mlprefix is handled properly while constructing
JPN for multilib package e.g.

lib32-dbus-java will now create lib32-libdbus-java
instead of lib32-dbus-java which was same as PN
and caused warnings like

WARNING: Variable key FILES_${PN} (${bindir}/* ${sbindir}/*
${libexecdir}/* ${libdir}/lib*${SOLIBS} ${sysconfdir} ${sharedstatedir}
${localstatedir} ${base_bindir}/* ${base_sbindir}/*
${base_libdir}/*${SOLIBS} ${base_prefix}/lib/udev/rules.d
${prefix}/lib/udev/rules.d ${datadir}/${BPN} ${libdir}/${BPN}/*
${datadir}/pixmaps ${datadir}/applications ${datadir}/idl ${datadir}/omf
${datadir}/sounds ${libdir}/bonobo/servers) replaces original key
FILES_lib32-dbus-java (${datadir_java}).

Signed-off-by: Khem Raj <raj.khem@gmail.com>
bcel,avalon-framework: Specify encoding to javac

when using javac from different JDK it does not like
the encodings since default is ascii, so be specific.

fastjar argument order was not correct when using other
fastjar implementation it was strict about it so lets
correct it as well.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
gnujaf: Fix building with java7

When using different javac which used java 1.7
gnujaf would not compile error details are in
patch header.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
java-library.bbclass: Export BOOTCLASSPATH and LD_LIBRARY_PATH

They are helpful in rebuilding from shared state since jamvm is
not so relocatable.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
junit: Fix build when rebuilding from same tree

use -o option to unzip to overwrite the classes
it fails otherwise when unpack build step is reexecuted again

There is no need to specify bootclasspath now

Add unzip-native to dependency

Fix fastjar commandline order

Signed-off-by: Khem Raj <raj.khem@gmail.com>
xerces-j: Specify cp instead of bootclasspath

This makes other javac implementations happy

Signed-off-by: Khem Raj <raj.khem@gmail.com>
dbus-java: User PN instead of hardcoding names

remove JFLAGS dont need them anymore

Signed-off-by: Khem Raj <raj.khem@gmail.com>
recipes-core: Correct fastjar cmdline

Signed-off-by: Khem Raj <raj.khem@gmail.com>
classpath: Adjust classpaths when using jamvm from sstate

when building from sstate and classpath wants to rebuild
then jamvm still needs the new paths. Its needed for classpath
since it does not inherit java-library class otherwise it would
not be needed.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
jamvm: update to git revision ac22c9948434e528ece451642b4ebde40953ee7e

* fix gnuclasspath annotations
jamvm-native: separate bootclasspath out into shell script

* instead of hardcode BCP and LD_LIBRARY_PATH into serval files
  use a shell script and set them there
* this allow us again to use other vms for java-native
jamvm-native: set default heap to 1024M via cflags
openjdk7: update openjdk7 to version 2.3.12

* notice openjdk7 2.1 and 2.2 will soon get no updates anymore
* openjdk7 2.3 has now arm byte compiler support
* use cacao hg version e215e36be9fc, because a567bcb7f589 is not working
java-test-image: remove tinylogin from packages to install