Hi All,
I would need java support for im6ul EVK board for that cloned meta-java layer successfully and am using yocto project
Included the below in local.conf
PREFERRED_PROVIDER_virtual/java-initial = "cocoa-initial"
PREFERRED_PROVIDER_virtual/java-native = "jamvm-native"
PREFERRED_PROVIDER_virtual/javac-native = "ecj-bootstrap-native"
PREFERRED_VERSION_openjdk-7-jre = "25b30-2.3.12"
PREFERRED_VERSION_icedtea7-native = "2.1.3"
IMAGE_INSTALL_append = " openjdk-7-jre"
Included the below in bblayer.bb
BBLAYERS += " ${BSPDIR}/sources/meta-java "
am trying to build java below is log
~/fsl-arm-yocto-bsp/bld-x11$ bitbake openjdk-7-jre
WARNING: Host distribution "Ubuntu-16.04" has not been validated with this version of the build system; you may possibly experience unexpected failures. It is recommended that you use a tested distribution.
Loading cache: 100% |###########################################| ETA: 00:00:00
Loaded 2938 entries from dependency cache.
NOTE: Resolving any missing task queue dependencies
NOTE: multiple providers are available for jpeg (jpeg, libjpeg-turbo)
NOTE: consider defining a PREFERRED_PROVIDER entry to match jpeg
NOTE: multiple providers are available for runtime java2-runtime (openjdk-7-jre, cacao, jamvm, openjdk-6-jre)
NOTE: consider defining a PREFERRED_PROVIDER entry to match java2-runtime
NOTE: multiple providers are available for runtime java2-vm (openjdk-7-jre, openjdk-6-jre)
NOTE: consider defining a PREFERRED_PROVIDER entry to match java2-vm
NOTE: multiple providers are available for jpeg-native (jpeg-native, libjpeg-turbo-native)
NOTE: consider defining a PREFERRED_PROVIDER entry to match jpeg-native
ERROR: Nothing PROVIDES 'ecj-initial-native' (but virtual:native:/home/aa/fsl-arm-yocto-bsp/sources/meta-java/recipes-core/jamvm/jamvm_git.bb, virtual:native:/home/aa/fsl-arm-yocto-bsp/sources/meta-java/recipes-core/cacao/cacao_1.6.1.bb DEPENDS on or otherwise requires it). Close matches:
ecj-initial
junit-native
binutils-native
ERROR: Required build target 'openjdk-7-jre' has no buildable providers.
Missing or unbuildable dependency chain was: ['openjdk-7-jre', 'icedtea6-native', 'virtual/java-native', 'ecj-initial-native']
Summary: There was 1 WARNING message shown.
Summary: There were 2 ERROR messages shown, returning a non-zero exit code.
what does it mean the above error? why am unable to build java?
Thanks
Vijay
Hi Vijay
please check
OpenJFX on Freescale i.MX6 - OpenJFX - OpenJDK Wiki
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hi igor,
Thanks for your quick reply. i did not find instruction how to add java in yocto project?
Could you please help me out?
Thanks
Vijay
Hi All,
Am i doing something wrong? please help me out in this.
Thanks
Vijay