[poky] Building a poky distribution with openjdk-7 and jamvm
Telos
telos at ideale.ind.br
Tue Mar 1 12:57:28 PST 2016
Hi everyone.
I am trying to build a poky distribution to a Beaglebone Black that
contains "openjdk-7-jre". Also, I am trying to build a openjdk-7-jre
that supports the JamVM.But I am having some problems with that. Or I
get problems on distribution building, or when I run the command "java
-jamvm -version" on beagle I receive the message:
/Error: jamvm VM not supported
/
By default, the openjdk-7-jreuses the Zero VM, and I want to use the
JamVM. I've searched on internet about that I've tried some things, like:
-> on beagle, in the file
"/usr/lib/jvm/java-7-openjdk/jre/lib/arm/jvm.cfg", I've changed the line
"-jamvm ERROR" to "-jamvm KNOWN". With that, I've tried again the
command "java -jamvm -version" and the this message has showed:
/Error: missing `jamvm' JVM at
`/usr/lib/jvm/java-7-openjdk/jre/lib/arm/jamvm/libjvm.so'.//
// Please install or use the JRE or JDK that contains these
missing components./
-> on my machine, in the file
"poky/meta-java/recipes-core/icedtea/icedtea7-native.inc", I've added
the line "--with-additional-vms=jamvm \" at line 89 (in the field
EXTRA_OECONF). In this case, the error was:
/ERROR: Task 1110
(/home/telos/VZ_TECH/pmv/poky/meta-java/recipes-core/icedtea/icedtea7-native_2.1.3.bb,
do_configure) failed with exit code '1'/
-> I've tried the same thing above but in the file
"/home/telos/VZ_TECH/pmv/poky/meta-java/recipes-core/openjdk/openjdk-7-common.inc",
at line 96. I got the error:
/ERROR: QA Issue: non debug package contains .debug directory:
openjdk-7-common path
/work/cortexa8hf-vfp-neon-poky-linux-gnueabi/openjdk-7-jre/91b01-2.6.2-r6.1/packages-split/openjdk-7-common/usr/lib/jvm/java-7-openjdk/jre/lib/arm/jamvm/.debug/libjvm.so
[debug-files]//
// ERROR: QA run found fatal errors. Please consider fixing them.//
// ERROR: Function failed: do_package_qa//
// ERROR: Logfile of failure stored in:
/home/telos/VZ_TECH/pmv/poky/projeto/tmp/work/cortexa8hf-vfp-neon-poky-linux-gnueabi/openjdk-7-jre/91b01-2.6.2-r6.1/temp/log.do_package_qa.20088//
// ERROR: Task 429
(/home/telos/VZ_TECH/pmv/poky/meta-java/recipes-core/openjdk/openjdk-7_91b01-2.6.2.bb,
do_package_qa) failed with exit code '1'/
My image recipe (core-image-pmv.bb) is showed below:
/
////IMAGE_INSTALL = "packagegroup-core-boot
${ROOTFS_PKGMANAGE_BOOTSTRAP} ${CORE_IMAGE_EXTRA_INSTALL} \//
// sqlite3 \//
// git \//
// i2c-tools \//
// powertop \//
// minicom \//
// devmem2 \//
// cronie \//
// htop \//
// bash \//
// openjdk-7-jre \//
// jamvm \//
// kernel-modules \//
// valgrind \//
// "//
//
// PREFERRED_PROVIDER_virtual/java-initial = "jamvm-initial"//
// PREFERRED_PROVIDER_virtual/java-initial-native =
"jamvm-initial-native"//
// PREFERRED_PROVIDER_virtual/java-native = "jamvm-native"//
// PREFERRED_PROVIDER_virtual/javac-native = "ecj-bootstrap-native"//
// PREFERRED_VERSION_icedtea7-native = "2.1.3"//
//
// EXTRA_IMAGE_FEATURES = "debug-tweaks \//
// dev-pkgs \//
// ssh-server-openssh \//
// tools-sdk \//
// "//
// DISTRO_FEATURES += " "//
//
// IMAGE_FSTYPES += "ext4 "//
//
// IMAGE_LINGUAS = " "//
//
// LICENSE = "MIT"//
//
// inherit core-image/
So, can some help me? Thanks for reading and sorry my english.
Regards,
Telos
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/poky/attachments/20160301/a4fc4b55/attachment.html>
More information about the poky
mailing list