[yocto] adding meta-oracle-java

Maxin John maxin at maxinbjohn.info
Wed Jan 28 06:26:24 PST 2015


Hi,

On Wed, Jan 28, 2015 at 1:10 PM, Jim Abernathy <jfabernathy at outlook.com> wrote:
>
<snip>

> well the file command does not run on the target machine same as java, not
> found error.  as to the local.conf file.  The only changes are as follows:
>
> MACHINE ?= "nuc"
> IMAGE_INSTALL_append = " oracle-jse-jre dropbear"
> LICENSE_FLAGS_WHITELIST += "oracle_java"
> #
> DL_DIR ?= "/work/downloads"
> #PACKAGE_CLASSES ?= "package_rpm"
> PACKAGE_CLASSES = "package_deb"
>
> I build with bitbake core-image-base.

>From the "nuc" image on qemu, I get this output for file command:

# file bin/busybox.nosuid
bin/busybox.nosuid: ELF 64-bit LSB executable, x86-64, version 1
(SYSV), dynamically linked, interpreter /lib/ld-linux-x86-64.so.2, for
GNU/Linux 2.6.32,
BuildID[sha1]=d87821503ef9cc2a5bed4a284cac138211a649ff, stripped

# file /usr/share/jre1.7.0_67/bin/java
/usr/share/jre1.7.0_67/bin/java: ELF 64-bit LSB executable, x86-64,
version 1 (SYSV), dynamically linked, interpreter
/lib64/ld-linux-x86-64.so.2, for GNU/Linux 2.6.9,
BuildID[sha1]=b82a586842f6da3df8a61093daadf0

/ #  java
/bin/sh: java: not found

Could be related to the library path. Continuing with investigation.

Best Regards,
Maxin



More information about the yocto mailing list