unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: iyzsong@member.fsf.org (宋文武)
To: Dmitry Nikolaev <cameltheman@gmail.com>
Cc: help-guix@gnu.org
Subject: Re: icedtea is installed, but no javac available.
Date: Thu, 02 Jun 2016 20:00:42 +0800	[thread overview]
Message-ID: <87bn3jpzpx.fsf@member.fsf.org> (raw)
In-Reply-To: <CAH3JXcE7hz3XrC4Df7ZO5MpdG8sU6uw_W_iUZnWTE7N_+rDh9Q@mail.gmail.com> (Dmitry Nikolaev's message of "Thu, 2 Jun 2016 08:00:56 +0300")

Dmitry Nikolaev <cameltheman@gmail.com> 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'.

      parent reply	other threads:[~2016-06-02 12:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-06-02  5:00 icedtea is installed, but no javac available Dmitry Nikolaev
2016-06-02  7:09 ` Ludovic Courtès
2016-06-02 12:00 ` 宋文武 [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87bn3jpzpx.fsf@member.fsf.org \
    --to=iyzsong@member.fsf.org \
    --cc=cameltheman@gmail.com \
    --cc=help-guix@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).