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 1NfhG0-0000Mg-2y for garchives@archives.gentoo.org; Thu, 11 Feb 2010 22:11:32 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 719C6E0ADA; Thu, 11 Feb 2010 22:11:20 +0000 (UTC) Received: from mta5.srv.hcvlny.cv.net (mta5.srv.hcvlny.cv.net [167.206.4.200]) by pigeon.gentoo.org (Postfix) with ESMTP id 5B26DE0ADA for ; Thu, 11 Feb 2010 22:11:20 +0000 (UTC) Received: from [192.168.0.4] (ool-43505ef2.dyn.optonline.net [67.80.94.242]) by mta5.srv.hcvlny.cv.net (Sun Java System Messaging Server 6.2-8.04 (built Feb 28 2007)) with ESMTP id <0KXP006TV6YUGIQ0@mta5.srv.hcvlny.cv.net> for gentoo-user@lists.gentoo.org; Thu, 11 Feb 2010 17:11:20 -0500 (EST) Date: Thu, 11 Feb 2010 17:11:18 -0500 From: dhk Subject: Re: [gentoo-user] Re: Keyword for dev-java/sun-j2ee In-reply-to: To: gentoo-user@lists.gentoo.org Message-id: <4B748086.5050509@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 Content-transfer-encoding: 7BIT X-Enigmail-Version: 0.95.7 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> User-Agent: Thunderbird 2.0.0.23 (X11/20091004) X-Archives-Salt: 5a9ba868-18ac-4852-8c6c-cc5928e3b1cc X-Archives-Hash: 30d8c02d570d53f9433600af83ffc348 walt wrote: > 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. > > > thanks, this looks useful.