From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1NfgJI-0005Fr-2h for garchives@archives.gentoo.org; Thu, 11 Feb 2010 21:10:52 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 11C12E0C0B; Thu, 11 Feb 2010 21:09:31 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id DAAC7E0C00 for ; Thu, 11 Feb 2010 21:09:30 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with ESMTP id 8F5181B40A6 for ; Thu, 11 Feb 2010 21:09:30 +0000 (UTC) X-Virus-Scanned: amavisd-new at gentoo.org X-Spam-Score: -2.999 X-Spam-Level: X-Spam-Status: No, score=-2.999 required=5.5 tests=[AWL=-0.400, BAYES_00=-2.599] Received: from smtp.gentoo.org ([127.0.0.1]) by localhost (smtp.gentoo.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id akGYjegYEIHg for ; Thu, 11 Feb 2010 21:09:24 +0000 (UTC) Received: from lo.gmane.org (lo.gmane.org [80.91.229.12]) by smtp.gentoo.org (Postfix) with ESMTP id ABF361B40B5 for ; Thu, 11 Feb 2010 21:09:22 +0000 (UTC) Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1NfgFj-0005v1-Om for gentoo-user@gentoo.org; Thu, 11 Feb 2010 22:07:11 +0100 Received: from adsl-69-234-202-108.dsl.irvnca.pacbell.net ([69.234.202.108]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 11 Feb 2010 22:07:11 +0100 Received: from w41ter by adsl-69-234-202-108.dsl.irvnca.pacbell.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 11 Feb 2010 22:07:11 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: gentoo-user@lists.gentoo.org From: walt Subject: [gentoo-user] Re: Keyword for dev-java/sun-j2ee Date: Thu, 11 Feb 2010 13:06:37 -0800 Message-ID: References: <4B7403FD.8050208@optonline.net> <201002111640.54473.alan.mckinnon@gmail.com> <4B741AB3.8010802@optonline.net> <4B742657.1000409@gmail.com> <4B7431F2.5010502@optonline.net> <4B74635A.9040205@optonline.net> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: adsl-69-234-202-108.dsl.irvnca.pacbell.net User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.3a2pre) Gecko/20100211 Thunderbird/3.2a1pre In-Reply-To: <4B74635A.9040205@optonline.net> Sender: news X-Archives-Salt: 86c00101-8986-4076-9236-ec48cece1b13 X-Archives-Hash: 922f4fa03878fcd4decc8caec5f30565 On 02/11/2010 12:06 PM, dhk wrote: > > Where's a good place to set J2EE_HOME (/opt/sun-j2ee-1.3.1/) and > JAVA_HOME? Should it be in each user's profile? If I wanted to set > them globally for all users should they go in /etc/profile ? > > Also when starting j2ee I get the following error. > # /opt/sun-j2ee-1.3.1/bin/j2ee -verbose > /opt/sun-j2ee-1.3.1/bin/j2ee: line 14: /opt/sun-j2ee-1.3.1//bin/java: No > such file or directory > > Is there another java package I need to install? /bin/java doesn't exist. You might want to look at dev-java/java-config, which creates some important symlinks for you if/when you want to switch between java versions. Or even if you don't switch between versions.