* icedtea is installed, but no javac available.
@ 2016-06-02 5:00 Dmitry Nikolaev
2016-06-02 7:09 ` Ludovic Courtès
2016-06-02 12:00 ` 宋文武
0 siblings, 2 replies; 3+ messages in thread
From: Dmitry Nikolaev @ 2016-06-02 5:00 UTC (permalink / raw)
To: help-guix
[-- Attachment #1: Type: text/plain, Size: 1251 bytes --]
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
/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/
$ 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:
$ which javac
which: no javac in
(/home/camel/.guix-profile/bin:/run/setuid-programs:/run/current-system/profile/bin:/run/current-system/profile/sbin)
# which javac
which: no javac in
(/root/.guix-profile/bin:/run/setuid-programs:/run/current-system/profile/bin:/run/current-system/profile/sbin)
What should I do to run javac?
Dmitry
[-- Attachment #2: Type: text/html, Size: 1423 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: icedtea is installed, but no javac available.
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 ` 宋文武
1 sibling, 0 replies; 3+ messages in thread
From: Ludovic Courtès @ 2016-06-02 7:09 UTC (permalink / raw)
To: Dmitry Nikolaev; +Cc: help-guix
Hi,
Dmitry Nikolaev <cameltheman@gmail.com> skribis:
> 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
> /gnu/store/krksxq6wzxi4bj9vc7g02axgjb7nrmgi-icedtea-3.0.1
>
> $ ls /gnu/store/ | grep -e '.*icedtea.*-jdk'
> 1rxafkp02y1775viisji16nfam7syqq3-icedtea-2.6.6-jdk/
[...]
> What should I do to run javac?
I think you need to install the JDK:
--8<---------------cut here---------------start------------->8---
$ guix package -A icedtea
icedtea 3.0.1 out,jdk,doc gnu/packages/java.scm:752:4
icedtea 2.6.6 out,jdk,doc gnu/packages/java.scm:582:4
icedtea 1.13.10 out,jdk,doc gnu/packages/java.scm:182:2
$ guix package -i icedtea:jdk
--8<---------------cut here---------------end--------------->8---
See
<https://www.gnu.org/software/guix/manual/html_node/Packages-with-Multiple-Outputs.html>
for more info on this.
HTH,
Ludo’.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: icedtea is installed, but no javac available.
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 ` 宋文武
1 sibling, 0 replies; 3+ messages in thread
From: 宋文武 @ 2016-06-02 12:00 UTC (permalink / raw)
To: Dmitry Nikolaev; +Cc: help-guix
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'.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2016-06-02 12:00 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 ` 宋文武
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.