> Date: Wed, 28 Jan 2015 13:01:02 +0100 > Subject: Re: [yocto] adding meta-oracle-java > From: ma...@maxinbjohn.info > To: jfaberna...@outlook.com > CC: paul.eggle...@linux.intel.com; yocto@yoctoproject.org > > Hi Jim, > > On Wed, Jan 28, 2015 at 12:21 PM, Jim Abernathy <jfaberna...@outlook.com> > wrote: > > > > > >> From: paul.eggle...@linux.intel.com > >> To: jfaberna...@outlook.com > >> CC: ma...@maxinbjohn.info; yocto@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
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.
-- _______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto