[yocto] adding meta-oracle-java

Maxin John maxin at maxinbjohn.info
Wed Jan 28 04:01:02 PST 2015


Hi Jim,

On Wed, Jan 28, 2015 at 12:21 PM, Jim Abernathy <jfabernathy at outlook.com> wrote:
>
>
>> From: paul.eggleton at linux.intel.com
>> To: jfabernathy at outlook.com
>> CC: maxin at maxinbjohn.info; yocto at yoctoproject.org
>> Subject: Re: [yocto] adding meta-oracle-java
>> Date: Wed, 28 Jan 2015 10:55:23 +0000
>
>>
>> On Wednesday 28 January 2015 05:44:47 Jim Abernathy wrote:
>> > Thanks, I guess the problem for me stems from not knowing the difference
>> > between, IMAGE_INSTALL_append and CORE_IMAGE_EXTRA_INSTALL, which I was
>> > using.
>>
>> Basically, the only difference is that CORE_IMAGE_EXTRA_INSTALL will only
>> work
>> with image recipes that inherit core-image. If the recipe inherits image,
>> its
>> value won't be used.
>>
>> Cheers,
>> Paul
> thank, well I got the java included in my build, but I can't execute it.
> very strange!
>
> I see java is at /usr/share/java/bin and there's a link to java in the
> /usr/bin, but at the command line I can't run, java -version.  I get java
> not found.  It's like it a shell problem.  I had the same issue when I just
> installed the tarball for JRE on a standard core-image-base before.

This can also be related to the architecture difference of java binary. Can you
share the output of "file" command on java binary  along with "MACHINE"
and other related details in local.conf file?

> I'm running as the only user on the system, root.
>
> Jim A

Warm Regards,
Maxin



More information about the yocto mailing list