All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Maxin B. John" <maxin.john@enea.com>
To: "Frazer, Will" <will.frazer@eurotech.com>
Cc: "yocto@yoctoproject.org" <yocto@yoctoproject.org>
Subject: Re: [meta-oracle-java][PATCH v2] Add support for Java SE Embedded
Date: Mon, 8 Sep 2014 17:57:45 +0200	[thread overview]
Message-ID: <20140908155745.GB25602@sestofb10.enea.se> (raw)
In-Reply-To: <15cf2669b9a9496db30b36893090d5c8@DB4PR05MB397.eurprd05.prod.outlook.com>

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-bounces@yoctoproject.org [mailto:yocto-bounces@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_redzhepov@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_redzhepov@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 \
> +	"
> --


  reply	other threads:[~2014-09-08 15:58 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-09-08 12:04 [meta-oracle-java][PATCH v2] Add support for Java SE Embedded Vladimir Redzhepov
2014-09-08 14:13 ` Frazer, Will
2014-09-08 15:57   ` Maxin B. John [this message]
2014-09-08 17:29     ` Frazer, Will

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20140908155745.GB25602@sestofb10.enea.se \
    --to=maxin.john@enea.com \
    --cc=will.frazer@eurotech.com \
    --cc=yocto@yoctoproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.