Gentoo Archives: gentoo-user

From: Michael Schreckenbauer <grimlog@×××.de>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] License question for jdk
Date: Sat, 10 Sep 2011 15:01:16
Message-Id: 10129938.ktvAgB8gmZ@pc
In Reply to: [gentoo-user] License question for jdk by Allan Gottlieb
1 On Saturday, 10. September 2011 10:38:48 Allan Gottlieb wrote:
2 > My update world today produced
3 >
4 > [nomerge ] dev-java/icedtea-6.1.10.3 USE="hs20 nsplugin nss
5 > webstart xrender -cacao -debug -doc -examples -jamvm -javascript -nio2
6 > -pulseaudio -systemtap -zero" [nomerge ] dev-java/ant-nodeps-1.8.1
7 > [ebuild NS ] virtual/jre-1.7.0 [1.6.0] 0 kB
8 > [ebuild NS ] virtual/jdk-1.7.0 [1.6.0] 0 kB
9 > [ebuild N F ] dev-java/oracle-jdk-bin-1.7.0 USE="X alsa -derby
10 > -doc -examples -jce -nsplugin" 92,746 kB
11 >
12 > [snip]
13 >
14 > The following license changes are necessary to proceed:
15 > #required by virtual/jdk-1.7.0, required by virtual/jre-1.7.0, required by
16 > dev-java/xalan-2.7.1, required by dev-java/icedtea-6.1.10.3, required by
17 > @selected, required by @world (argument)
18 > >=dev-java/oracle-jdk-bin-1.7.0 Oracle-BCLA-JavaSE
19 >
20 > NOTE: This --autounmask behavior can be disabled by setting
21 > EMERGE_DEFAULT_OPTS="--autounmask=n" in make.conf.
22 >
23 > Use --autounmask-write to write changes to config files (honoring
24 > CONFIG_PROTECT).
25 >
26 > So I need the Oracle-BCLA-JavaSE license. But I don't see where it
27 > tells me how to do this. Previous license requests said something like
28 > * go to URL xxx
29 > * click on YYY
30 > * store it in distfiles/ZZZ
31
32 There are two different things, you have to do.
33 First is the license, that you need to accept in order to proceed.
34 You do this via /etc/make.conf, where you can set
35 ACCEPT_LICENSE="<licenses you accept>"
36 eg
37 ACCEPT_LICENSE="${ACCEPT_LICENSE} Oracle-BCLA-JavaSE"
38 for this specific license or
39 ACCEPT_LICENSE="*"
40 to accept every license you are presented with (that's what I have)
41
42 Second things is the fetch-restriction. This pops up, after you accepted the
43 license and is is what is familiar to you.
44 Go to URL, download, move to distfiles.
45
46 > (As an aside I had thought idedtea replaced the need for oracle/sun 's
47 > jdk. I do have installed sun/oracle 's java-sdk-docs.)
48
49 That's true. You can unmerge the sun-jdk and emerge icedtea instead.
50 In my experience, icedtea did not work for everything. That might have
51 changed, but I still use the oracle jdk.
52
53 > thanks,
54 > allan
55
56 Hth,
57 Michael

Replies

Subject Author
Re: [gentoo-user] License question for jdk Alan McKinnon <alan.mckinnon@×××××.com>