Gentoo Archives: gentoo-user

From: dhk <dhkuhl@×××××××××.net>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Keyword for dev-java/sun-j2ee
Date: Thu, 11 Feb 2010 20:07:06
Message-Id: 4B74635A.9040205@optonline.net
In Reply to: Re: [gentoo-user] Keyword for dev-java/sun-j2ee by dhk
1 dhk wrote:
2 > Dale wrote:
3 >> chrome://messenger/locale/messengercompose/composeMsgs.properties:
4 >>> Alan McKinnon wrote:
5 >>>
6 >>>> On Thursday 11 February 2010 15:19:57 dhk wrote:
7 >>>>
8 >>>>> How do I find out the missing keyword for dev-java/sun-j2ee?
9 >>>>>
10 >>>>> I tried dev-java/sun-j2ee ~amd64 java in /etc/portage/package.keywords
11 >>>>> and tried adding ACCEPT_LICENSE="sun-bcla-j2ee" to /etc/make.conf.
12 >>>>>
13 >>>> dev-java/sun-j2ee ~*
14 >>>>
15 >>>>
16 >>>>
17 >>>>
18 >>>>
19 >>>>
20 >>>>> Below is the output to the emerge.
21 >>>>>
22 >>>>> emerge -pv dev-java/sun-j2ee
23 >>>>> !!! CONFIG_PROTECT is empty
24 >>>>> These are the packages that would be merged, in order:
25 >>>>>
26 >>>>> Calculating dependencies... done!
27 >>>>>
28 >>>>> !!! All ebuilds that could satisfy "dev-java/sun-j2ee" have been
29 >>>>> masked.
30 >>>>> !!! One of the following masked packages is required to complete your
31 >>>>> request:
32 >>>>> - dev-java/sun-j2ee-1.3.1-r4 (masked by: missing keyword)
33 >>>>>
34 >>>>>
35 >>>>> For more information, see the MASKED PACKAGES section in the emerge
36 >>>>> man page or refer to the Gentoo Handbook.
37 >>>>>
38 >>>>> Thanks,
39 >>>>>
40 >>>>> dhk
41 >>>>>
42 >>>>
43 >>> That seems like it should have worked. I tried dev-java/sun-j2ee ~* in
44 >>> /etc/portage/package.keywords but I get the same response.
45 >>>
46 >>> Any more ideas?
47 >>>
48 >>> Thanks,
49 >>>
50 >>> dhk
51 >>>
52 >>>
53 >> Have you synced lately? According to mine it is not masked or keyworded
54 >> and should install without changing anything. I synced last night and I
55 >> get this:
56 >>
57 >> root@smoker / # equery list -p dev-java/sun-j2ee
58 >> [ Searching for package 'sun-j2ee' in 'dev-java' among: ]
59 >> * installed packages
60 >> * Portage tree (/usr/portage)
61 >> [-P-] [ ] dev-java/sun-j2ee-1.3.1-r4 (0)
62 >> [-P-] [ ] dev-java/sun-j2ee-deployment-bin-1.1-r2 (1.1)
63 >> root@smoker / #
64 >>
65 >>
66 >> Looks good to go to me.
67 >>
68 >> Dale
69 >>
70 >> :-) :-)
71 >>
72 >>
73 >
74 > I did a sync, but no difference. However, the dev-java/sun-j2ee **
75 > worked after I downloaded j2sdkee-1_3_1-linux.tar.gz .
76 >
77 > Thanks,
78 >
79 > dhk
80 >
81 >
82
83
84 Another question about this.
85
86 Where's a good place to set J2EE_HOME (/opt/sun-j2ee-1.3.1/) and
87 JAVA_HOME? Should it be in each user's profile? If I wanted to set
88 them globally for all users should they go in /etc/profile ?
89
90 Also when starting j2ee I get the following error.
91 # /opt/sun-j2ee-1.3.1/bin/j2ee -verbose
92 /opt/sun-j2ee-1.3.1/bin/j2ee: line 14: /opt/sun-j2ee-1.3.1//bin/java: No
93 such file or directory
94
95 Is there another java package I need to install? /bin/java doesn't exist.
96
97 Thanks,
98 dhk

Replies

Subject Author
Re: [gentoo-user] Keyword for dev-java/sun-j2ee Alan McKinnon <alan.mckinnon@×××××.com>
[gentoo-user] Re: Keyword for dev-java/sun-j2ee walt <w41ter@×××××.com>