unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
* Java environment
@ 2020-05-11 11:17 Roy Lemmon
  2020-05-11 11:43 ` Guillaume Le Vaillant
  2020-05-11 11:49 ` Pierre Neidhardt
  0 siblings, 2 replies; 4+ messages in thread
From: Roy Lemmon @ 2020-05-11 11:17 UTC (permalink / raw)
  To: help-guix

Hi,

I would like to set up a java environment on guix. I have installed the
openjdk package. However it doesn't give access to commands such as the
compiler javac. I am unsure what package I need to install for this.

Note I have not used java before.

Thanks for any help.

Cheers
Roy.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Java environment
  2020-05-11 11:17 Java environment Roy Lemmon
@ 2020-05-11 11:43 ` Guillaume Le Vaillant
  2020-05-11 11:49 ` Pierre Neidhardt
  1 sibling, 0 replies; 4+ messages in thread
From: Guillaume Le Vaillant @ 2020-05-11 11:43 UTC (permalink / raw)
  To: Roy Lemmon; +Cc: help-guix

[-- Attachment #1: Type: text/plain, Size: 455 bytes --]


Roy Lemmon <roy@roylemmon.com> skribis:

> Hi,
>
> I would like to set up a java environment on guix. I have installed the
> openjdk package. However it doesn't give access to commands such as the
> compiler javac. I am unsure what package I need to install for this.
>
> Note I have not used java before.
>
> Thanks for any help.
>
> Cheers
> Roy.

Hi,

Have you tried installing the jdk output of the openjdk package?

With:
  guix install openjdk:jdk

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 227 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Java environment
  2020-05-11 11:17 Java environment Roy Lemmon
  2020-05-11 11:43 ` Guillaume Le Vaillant
@ 2020-05-11 11:49 ` Pierre Neidhardt
  2020-05-11 12:30   ` Roy Lemmon
  1 sibling, 1 reply; 4+ messages in thread
From: Pierre Neidhardt @ 2020-05-11 11:49 UTC (permalink / raw)
  To: Roy Lemmon, help-guix

[-- Attachment #1: Type: text/plain, Size: 141 bytes --]

You need to install icedtea:jdk or openjdk:jdk if you want the developer
tools.

Cheers!

-- 
Pierre Neidhardt
https://ambrevar.xyz/

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Java environment
  2020-05-11 11:49 ` Pierre Neidhardt
@ 2020-05-11 12:30   ` Roy Lemmon
  0 siblings, 0 replies; 4+ messages in thread
From: Roy Lemmon @ 2020-05-11 12:30 UTC (permalink / raw)
  To: Pierre Neidhardt; +Cc: help-guix

Thanks very much Pierre and Guillaume,

Perfect. It works now. Clearly I need to read more about java, icedtea,
.jar files, .java files, .jnlp files ....

But at least I can compile and run such files now.

I have a similar question about setting up a python environment but I will
ask that in a separate email.

Thanks
Roy.

On Mon, May 11, 2020 at 12:49 PM Pierre Neidhardt <mail@ambrevar.xyz> wrote:

> You need to install icedtea:jdk or openjdk:jdk if you want the developer
> tools.
>
> Cheers!
>
> --
> Pierre Neidhardt
> https://ambrevar.xyz/
>


-- 
********************************
Roy Lemmon
STFC Daresbury Laboratory
United Kingdom
********************************

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2020-05-11 12:45 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-11 11:17 Java environment Roy Lemmon
2020-05-11 11:43 ` Guillaume Le Vaillant
2020-05-11 11:49 ` Pierre Neidhardt
2020-05-11 12:30   ` Roy Lemmon

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).