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