Hi Jim, On Wed, Jan 28, 2015 at 10:25 AM, Paul Eggleton <paul.eggle...@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@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@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 -- _______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto