[yocto] adding meta-oracle-java
Jim Abernathy
jfabernathy at outlook.com
Wed Jan 28 02:44:47 PST 2015
> Date: Wed, 28 Jan 2015 11:20:21 +0100
> Subject: Re: [yocto] adding meta-oracle-java
> From: maxin at maxinbjohn.info
> To: paul.eggleton at linux.intel.com
> CC: jfabernathy at outlook.com; yocto at yoctoproject.org
>
> Hi Jim,
>
> On Wed, Jan 28, 2015 at 10:25 AM, Paul Eggleton
> <paul.eggleton at linux.intel.com> wrote:
> > Hi Jim,
> >
> > On Tuesday 27 January 2015 15:24:09 James Abernathy wrote:
> >> In looking at the meta-oracle-java README, I see the notes about adding the
> >> License statement and switching to .deb packaging. With that done, I get a
> >> clean build, but my image boots and I can’t see any evidence that java was
> >> included.
> >>
> >> What am I missing.
> >
> >> I have a web app server that in all inclusive and can be setup just by
> >> running “java -jar xxxx.jar”. But can’t run it without java installed.
> >
> > I assume you've just added the layer to your bblayers.conf - if so you've
> > missed the next step of actually adding additional packages produced by
> > recipes in the layer to your image. I haven't tried it but I assume the
> > package to add would be "oracle-jse-jre".
>
> As mentioned here, if you include "oracle-jse-jre" in the image, things
> should work as expected (IMAGE_INSTALL_append = " oracle-jse-jre")
>
> root at qemux86:~# ls -la /usr/bin/java
> lrwxrwxrwx 1 root root 31 Jan 28 10:11 /usr/bin/java
> -> /usr/share/jre1.7.0_67/bin/java
>
> root at qemux86:~# java -version
> java version "1.7.0_67"
> Java(TM) SE Runtime Environment (build 1.7.0_67-b01)
> Java HotSpot(TM) Client VM (build 24.65-b04, mixed mode)
>
>
> > Cheers,
> > Paul
>
> Best Regards,
> Maxin
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.
Can you explain?
Jim A
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20150128/c1269ffd/attachment.html>
More information about the yocto
mailing list