all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Using openjdk9 as the default JDK
@ 2019-03-05  9:08 Ricardo Wurmus
  2019-03-05  9:35 ` Julien Lepiller
  2019-03-05  9:35 ` Gábor Boskovits
  0 siblings, 2 replies; 9+ messages in thread
From: Ricardo Wurmus @ 2019-03-05  9:08 UTC (permalink / raw)
  To: guix-devel

Hi Guix,

there are a few packages now that require Java 9, such as
java-eclipse-jdt-compiler-apt (that I’m currently packaging).

We should aim to use openjdk9 as the default JDK.

What do you think?

--
Ricardo

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

* Re: Using openjdk9 as the default JDK
  2019-03-05  9:08 Using openjdk9 as the default JDK Ricardo Wurmus
@ 2019-03-05  9:35 ` Julien Lepiller
  2019-03-05  9:35 ` Gábor Boskovits
  1 sibling, 0 replies; 9+ messages in thread
From: Julien Lepiller @ 2019-03-05  9:35 UTC (permalink / raw)
  To: guix-devel

Le 2019-03-05 10:08, Ricardo Wurmus a écrit :
> Hi Guix,
> 
> there are a few packages now that require Java 9, such as
> java-eclipse-jdt-compiler-apt (that I’m currently packaging).
> 
> We should aim to use openjdk9 as the default JDK.
> 
> What do you think?
> 
> --
> Ricardo

sounds good, but that will give us a lot of work.

I'd like to suggest upgrading to java 11 instead, and build
packages that don't support it with the -source argument.

I've got some packages locally that require -source 1.6 and
one that requires -source 1.4. I do it in this way currently:

(add-before 'build 'use-1.4
   (lambda _
     (substitute* "build.xml"
       (("<javac") "<javac source=\"1.4\""))))

The build.xml is generated from the ant-build-system, so maybe
we could add a #:source-version key to do just that? Doing it
this way prevents some warning (and sometimes errors) that
appear when using an older compiler on a package with dependencies
that were build with a newer compiler.

I think our update to the latest openjdk would be a lot smoother
with this. What do you think?

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

* Re: Using openjdk9 as the default JDK
  2019-03-05  9:08 Using openjdk9 as the default JDK Ricardo Wurmus
  2019-03-05  9:35 ` Julien Lepiller
@ 2019-03-05  9:35 ` Gábor Boskovits
  2019-03-05  9:46   ` Ricardo Wurmus
  1 sibling, 1 reply; 9+ messages in thread
From: Gábor Boskovits @ 2019-03-05  9:35 UTC (permalink / raw)
  To: Ricardo Wurmus; +Cc: Guix-devel

Hello Ricardo,

Ricardo Wurmus <rekado@elephly.net> ezt írta (időpont: 2019. márc. 5.,
K, 10:09):
>
> Hi Guix,
>
> there are a few packages now that require Java 9, such as
> java-eclipse-jdt-compiler-apt (that I’m currently packaging).
>
> We should aim to use openjdk9 as the default JDK.
>
> What do you think?
>

Do you think that aiming for openjdk11 directly is too much?
9 is not supported, but 11 will be supported until 2026.

For further information see https://en.wikipedia.org/wiki/Java_version_history

> --
> Ricardo
>
>

Best regards,
g_bor

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

* Re: Using openjdk9 as the default JDK
  2019-03-05  9:35 ` Gábor Boskovits
@ 2019-03-05  9:46   ` Ricardo Wurmus
  2019-03-05 19:00     ` Alex Vong
  0 siblings, 1 reply; 9+ messages in thread
From: Ricardo Wurmus @ 2019-03-05  9:46 UTC (permalink / raw)
  To: Gábor Boskovits; +Cc: Guix-devel


Hi Gábor,

>> there are a few packages now that require Java 9, such as
>> java-eclipse-jdt-compiler-apt (that I’m currently packaging).
>>
>> We should aim to use openjdk9 as the default JDK.
>>
>> What do you think?
>>
>
> Do you think that aiming for openjdk11 directly is too much?
> 9 is not supported, but 11 will be supported until 2026.
>
> For further information see https://en.wikipedia.org/wiki/Java_version_history

Good point.  Let’s use openjdk11 then.

-- 
Ricardo

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

* Re: Using openjdk9 as the default JDK
  2019-03-05  9:46   ` Ricardo Wurmus
@ 2019-03-05 19:00     ` Alex Vong
  2019-03-05 20:32       ` Gábor Boskovits
  2019-03-06  7:12       ` Ricardo Wurmus
  0 siblings, 2 replies; 9+ messages in thread
From: Alex Vong @ 2019-03-05 19:00 UTC (permalink / raw)
  To: Ricardo Wurmus; +Cc: Guix-devel

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

Ricardo Wurmus <rekado@elephly.net> writes:

> Hi Gábor,
>
>>> there are a few packages now that require Java 9, such as
>>> java-eclipse-jdt-compiler-apt (that I’m currently packaging).
>>>
>>> We should aim to use openjdk9 as the default JDK.
>>>
>>> What do you think?
>>>
>>
>> Do you think that aiming for openjdk11 directly is too much?
>> 9 is not supported, but 11 will be supported until 2026.
>>
>> For further information see https://en.wikipedia.org/wiki/Java_version_history
>
> Good point.  Let’s use openjdk11 then.

From this page <https://icedtea.classpath.org/wiki/Main_Page>, the
latest icedtea is for openjdk 8. Does this mean that we have to patch
icedtea to build openjdk 11?

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

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

* Re: Using openjdk9 as the default JDK
  2019-03-05 19:00     ` Alex Vong
@ 2019-03-05 20:32       ` Gábor Boskovits
  2019-03-14 18:33         ` Alex Vong
  2019-03-18  4:50         ` Chris Marusich
  2019-03-06  7:12       ` Ricardo Wurmus
  1 sibling, 2 replies; 9+ messages in thread
From: Gábor Boskovits @ 2019-03-05 20:32 UTC (permalink / raw)
  To: Alex Vong; +Cc: Guix-devel

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

Hello,

2019. márc. 5., K 20:00 dátummal Alex Vong <alexvong1995@gmail.com> ezt
írta:

> Ricardo Wurmus <rekado@elephly.net> writes:
>
> > Hi Gábor,
> >
> >>> there are a few packages now that require Java 9, such as
> >>> java-eclipse-jdt-compiler-apt (that I’m currently packaging).
> >>>
> >>> We should aim to use openjdk9 as the default JDK.
> >>>
> >>> What do you think?
> >>>
> >>
> >> Do you think that aiming for openjdk11 directly is too much?
> >> 9 is not supported, but 11 will be supported until 2026.
> >>
> >> For further information see
> https://en.wikipedia.org/wiki/Java_version_history
> >
> > Good point.  Let’s use openjdk11 then.
>
> From this page <https://icedtea.classpath.org/wiki/Main_Page>, the
> latest icedtea is for openjdk 8. Does this mean that we have to patch
> icedtea to build openjdk 11?
>
As of openjdk9 openjdk became free, so there is no longer a need for
icetea. That is why there is no newer version, and you can find openjdk 9
10 and 11 in guix.

Best regards,
g_bor

>

[-- Attachment #2: Type: text/html, Size: 2005 bytes --]

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

* Re: Using openjdk9 as the default JDK
  2019-03-05 19:00     ` Alex Vong
  2019-03-05 20:32       ` Gábor Boskovits
@ 2019-03-06  7:12       ` Ricardo Wurmus
  1 sibling, 0 replies; 9+ messages in thread
From: Ricardo Wurmus @ 2019-03-06  7:12 UTC (permalink / raw)
  To: Alex Vong; +Cc: Guix-devel


Alex Vong <alexvong1995@gmail.com> writes:

> From this page <https://icedtea.classpath.org/wiki/Main_Page>, the
> latest icedtea is for openjdk 8. Does this mean that we have to patch
> icedtea to build openjdk 11?

We already have packages for later JDKs.

-- 
Ricardo

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

* Re: Using openjdk9 as the default JDK
  2019-03-05 20:32       ` Gábor Boskovits
@ 2019-03-14 18:33         ` Alex Vong
  2019-03-18  4:50         ` Chris Marusich
  1 sibling, 0 replies; 9+ messages in thread
From: Alex Vong @ 2019-03-14 18:33 UTC (permalink / raw)
  To: Gábor Boskovits; +Cc: Guix-devel

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

Thanks, people. I'm looking forwards to playing with jaotc :)

Gábor Boskovits <boskovits@gmail.com> writes:

> Hello,
>
> 2019. márc. 5., K 20:00 dátummal Alex Vong <alexvong1995@gmail.com> ezt írta:
>
>  Ricardo Wurmus <rekado@elephly.net> writes:
>
>  > Hi Gábor,
>  >
>  >>> there are a few packages now that require Java 9, such as
>  >>> java-eclipse-jdt-compiler-apt (that I’m currently packaging).
>  >>>
>  >>> We should aim to use openjdk9 as the default JDK.
>  >>>
>  >>> What do you think?
>  >>>
>  >>
>  >> Do you think that aiming for openjdk11 directly is too much?
>  >> 9 is not supported, but 11 will be supported until 2026.
>  >>
>  >> For further information see https://en.wikipedia.org/wiki/Java_version_history
>  >
>  > Good point.  Let’s use openjdk11 then.
>
>  From this page <https://icedtea.classpath.org/wiki/Main_Page>, the
>  latest icedtea is for openjdk 8. Does this mean that we have to patch
>  icedtea to build openjdk 11?
>
> As of openjdk9 openjdk became free, so there is no longer a need for icetea. That is why
> there is no newer version, and you can find openjdk 9 10 and 11 in guix.
>
> Best regards,
> g_bor

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

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

* Re: Using openjdk9 as the default JDK
  2019-03-05 20:32       ` Gábor Boskovits
  2019-03-14 18:33         ` Alex Vong
@ 2019-03-18  4:50         ` Chris Marusich
  1 sibling, 0 replies; 9+ messages in thread
From: Chris Marusich @ 2019-03-18  4:50 UTC (permalink / raw)
  To: Gábor Boskovits; +Cc: Guix-devel

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

Gábor Boskovits <boskovits@gmail.com> writes:

> As of openjdk9 openjdk became free, so there is no longer a need for
> icetea. That is why there is no newer version, and you can find openjdk 9
> 10 and 11 in guix.

Good to know!  Thank you for mentioning this.

-- 
Chris

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

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

end of thread, other threads:[~2019-03-18  4:51 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-03-05  9:08 Using openjdk9 as the default JDK Ricardo Wurmus
2019-03-05  9:35 ` Julien Lepiller
2019-03-05  9:35 ` Gábor Boskovits
2019-03-05  9:46   ` Ricardo Wurmus
2019-03-05 19:00     ` Alex Vong
2019-03-05 20:32       ` Gábor Boskovits
2019-03-14 18:33         ` Alex Vong
2019-03-18  4:50         ` Chris Marusich
2019-03-06  7:12       ` Ricardo Wurmus

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.