Dear Will Frazer, On Mon, Sep 08, 2014 at 02:13:35PM +0000, Frazer, Will wrote: > Folks, > > My understanding is that while this recipe generated download URL will work > if you have already visited the Oracle download location, it won't work for a > build system that has never been there before. Try it. > The updated download method was to avoid the manual download process associated with Oracle Java Binaries. I have tested this on a couple of machines before sending it upstream.
It was based on this discussion: https://gist.github.com/hgomez/4697585 > Also, Oracle has previously been very much against using any mechanism that > bypasses a user clicking on the licence acceptance. I'm not aware this > position has changed. You may find that you are in violation of the Licence > agreement if you do this. One of the reasons why the URLs were obfuscated in > the past I believe. > Thank you very much for raising this concern. I wasn't aware of this. As per my understanding, setting LICENSE_FLAGS_WHITELIST += "oracle_java" in local.conf was Yocto's way of conforming to the License terms of Oracle. Adding CC to Nitin A Kamble for his view on this. > Will Frazer > Eurotech UK Thanks and Regards, Maxin > > -----Original Message----- > From: yocto-boun...@yoctoproject.org [mailto:yocto-boun...@yoctoproject.org] > On Behalf Of Vladimir Redzhepov > Sent: 08 September 2014 13:04 > To: yocto@yoctoproject.org > Subject: [yocto] [meta-oracle-java][PATCH v2] Add support for Java SE Embedded > > >From a68c728141f369e1ac41f2aaf40915cf14ad341f Mon Sep 17 00:00:00 2001 > From: Vladimir Redzhepov <vladimir_redzhe...@epam.com> > Date: Mon, 8 Sep 2014 14:42:28 +0300 > Subject: [PATCH] Add support for Java SE Embedded > > Signed-off-by: Vladimir Redzhepov <vladimir_redzhe...@epam.com> > --- > ...racle-jse-ejre-arm-vfp-hflt-client-headless_1.7.0.bb | 9 +++++++++ > recipes-devtools/oracle-java/oracle-jse-ejre.inc | 17 > +++++++++++++++++ > 2 files changed, 26 insertions(+) > create mode 100644 > recipes-devtools/oracle-java/oracle-jse-ejre-arm-vfp-hflt-client-headless_1.7.0.bb > create mode 100644 recipes-devtools/oracle-java/oracle-jse-ejre.inc > > diff --git > a/recipes-devtools/oracle-java/oracle-jse-ejre-arm-vfp-hflt-client-headless_1.7.0.bb > > b/recipes-devtools/oracle-java/oracle-jse-ejre-arm-vfp-hflt-client-headless_1.7.0.bb > new file mode 100644 > index 0000000..bfa8011 > --- /dev/null > +++ b/recipes-devtools/oracle-java/oracle-jse-ejre-arm-vfp-hflt-client-h > +++ eadless_1.7.0.bb > @@ -0,0 +1,9 @@ > +PV_UPDATE = "60" > +BUILD_NUMBER = "19" > + > +require oracle-jse-ejre.inc > + > +SRC_URI = > "http://download.oracle.com/otn/java/ejre/7u${PV_UPDATE}-b${BUILD_NUMBER}/ejre-7u${PV_UPDATE}-fcs-b${BUILD_NUMBER}-linux-arm-vfp-hflt-client_headless-07_may_2014.tar.gz" > + > +SRC_URI[md5sum] = "b9b8f598b0a7f49e4d221f16ba25c6c0" > +SRC_URI[sha256sum] = > "ed061060011d88efe5563c2949c00993db85db17ab94f18a78713007a2b90faf" > diff --git a/recipes-devtools/oracle-java/oracle-jse-ejre.inc > b/recipes-devtools/oracle-java/oracle-jse-ejre.inc > new file mode 100644 > index 0000000..7889684 > --- /dev/null > +++ b/recipes-devtools/oracle-java/oracle-jse-ejre.inc > @@ -0,0 +1,17 @@ > +SUMMARY = "Oracle Java SE runtime environment binaries" > +DESCRIPTION = "This is the proprietary JRE from Sun/Oracle, with the > +Hotspot JVM. It is\ provided by Sun/Oracle only in binary format.\ > +Java Platform, Standard Edition (Java SE) lets you develop and deploy > +Java\ applications on desktops and servers, as well as in today's > +demanding\ embedded environments. Java offers the rich user interface, > +performance,\ versatility, portability, and security that today's > +applications require.\ The JRE (Java Runtime Environment) is needed on > +a system to run Java\ applications and applets" > + > +JDK_JRE = "ejre" > +require oracle-jse.inc > + > +LIC_FILES_CHKSUM = "\ > + > file://${WORKDIR}/${JDK_JRE}${PV}_${PV_UPDATE}/COPYRIGHT;md5=3a11238025bf13b87f04753183ffeb90 > \ > + > file://${WORKDIR}/${JDK_JRE}${PV}_${PV_UPDATE}/THIRDPARTYLICENSEREADME.txt;md5=c339b34e3da6673d2c5950d0f8808f8c > \ > + " > -- -- _______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto