On Saturday, 10. September 2011 10:38:48 Allan Gottlieb wrote:
> My update world today produced
> 
>   [nomerge       ] dev-java/icedtea-6.1.10.3  USE="hs20 nsplugin nss
> webstart xrender -cacao -debug -doc -examples -jamvm -javascript -nio2
> -pulseaudio -systemtap -zero" [nomerge       ]  dev-java/ant-nodeps-1.8.1
>   [ebuild  NS    ]   virtual/jre-1.7.0 [1.6.0] 0 kB
>   [ebuild  NS    ]    virtual/jdk-1.7.0 [1.6.0] 0 kB
>   [ebuild  N F   ]     dev-java/oracle-jdk-bin-1.7.0  USE="X alsa -derby
> -doc -examples -jce -nsplugin" 92,746 kB
> 
>   [snip]
> 
>   The following license changes are necessary to proceed:
>   #required by virtual/jdk-1.7.0, required by virtual/jre-1.7.0, required by
> dev-java/xalan-2.7.1, required by dev-java/icedtea-6.1.10.3, required by
> @selected, required by @world (argument)
>   >=dev-java/oracle-jdk-bin-1.7.0 Oracle-BCLA-JavaSE
> 
>   NOTE: This --autounmask behavior can be disabled by setting
>         EMERGE_DEFAULT_OPTS="--autounmask=n" in make.conf.
> 
>   Use --autounmask-write to write changes to config files (honoring
> CONFIG_PROTECT).
> 
> So I need the Oracle-BCLA-JavaSE license.  But I don't see where it
> tells me how to do this.  Previous license requests said something like
> * go to URL xxx
> * click on YYY
> * store it in distfiles/ZZZ

There are two different things, you have to do.
First is the license, that you need to accept in order to proceed.
You do this via /etc/make.conf, where you can set
ACCEPT_LICENSE="<licenses you accept>"
eg
ACCEPT_LICENSE="${ACCEPT_LICENSE} Oracle-BCLA-JavaSE"
for this specific license or
ACCEPT_LICENSE="*"
to accept every license you are presented with (that's what I have)

Second things is the fetch-restriction. This pops up, after you accepted the 
license and is is what is familiar to you.
Go to URL, download, move to distfiles.

> (As an aside I had thought idedtea replaced the need for oracle/sun 's
> jdk.  I do have installed sun/oracle 's java-sdk-docs.)

That's true. You can unmerge the sun-jdk and emerge icedtea instead.
In my experience, icedtea did not work for everything. That might have 
changed, but I still use the oracle jdk.

> thanks,
> allan

Hth,
Michael


Reply via email to