From mboxrd@z Thu Jan 1 00:00:00 1970 From: iyzsong@member.fsf.org (=?utf-8?B?5a6L5paH5q2m?=) Subject: Re: icedtea is installed, but no javac available. Date: Thu, 02 Jun 2016 20:00:42 +0800 Message-ID: <87bn3jpzpx.fsf@member.fsf.org> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:36936) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b8RIx-0001gG-Cc for help-guix@gnu.org; Thu, 02 Jun 2016 08:00:52 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b8RIu-0005nC-8q for help-guix@gnu.org; Thu, 02 Jun 2016 08:00:51 -0400 Received: from mail.openmailbox.org ([62.4.1.34]:35506) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b8RIu-0005n5-2e for help-guix@gnu.org; Thu, 02 Jun 2016 08:00:48 -0400 In-Reply-To: (Dmitry Nikolaev's message of "Thu, 2 Jun 2016 08:00:56 +0300") List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: Dmitry Nikolaev Cc: help-guix@gnu.org Dmitry Nikolaev writes: > Hi. I have icedtead both in my /etc/config.scm and in my user profile: > > $ guix package --list-installed | grep icedtea > icedtea 3.0.1 out ^ This means the "out" output. > /gnu/store/krksxq6wzxi4bj9vc7g02axgjb7nrmgi-icedtea-3.0.1 > > $ ls /gnu/store/ | grep -e '.*icedtea.*-jdk' > 1rxafkp02y1775viisji16nfam7syqq3-icedtea-2.6.6-jdk/ > 90aj0p2yfpcizf3dl0bds89i9ggx9pbq-icedtea-3.0.1-jdk/ > 9ls43rishmxbc9bwyl6v55a3rpsjdrqz-icedtea-3.0.1-jdk/ > ivlpx5z72r2b2gzbx2fzvk43f3q1hq70-icedtea-2.6.5-jdk/ > k9b628hrxrxyyn4mn6wsvpy530w9mrv2-icedtea-2.6.6-jdk/ > qcgmxr29w967y8xzavls6zs1bcw6d8md-icedtea-2.6.5-jdk/ ^ This is the "jdk" output. > > $ ls -l > /gnu/store/ivlpx5z72r2b2gzbx2fzvk43f3q1hq70-icedtea-2.6.5-jdk/bin/javac > -r-xr-xr-x 2 root guixbuild 7816 Jan 1 1970 > /gnu/store/ivlpx5z72r2b2gzbx2fzvk43f3q1hq70-icedtea-2.6.5-jdk/bin/javac > > $ > /gnu/store/ivlpx5z72r2b2gzbx2fzvk43f3q1hq70-icedtea-2.6.5-jdk/bin/javac > -version > javac 1.7.0_99 > > But javac is not in my $PATH, neither in root's $PATH: You installed the "out" output of icedtea, which is only the JRE part. To install the "jdk" output, use: `guix package -i icedtea:jdk'.