guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: java: switch to icedtea-8 as default JDK


From: Gábor Boskovits
Subject: Re: java: switch to icedtea-8 as default JDK
Date: Sun, 17 Dec 2017 19:59:10 +0100

Yes, we could do that, however, I would prefer to fix these if we can.


2017-12-17 15:26 GMT+01:00 Ricardo Wurmus <address@hidden>:

Gábor Boskovits <address@hidden> writes:

> Currently I cannot compile java-aqute-bndlib,
> because java-classpathx-servletapi-3.0 does not work with java8.
> This is a known incompatibility between java7 and java8 definition of Map,
> affecting multiple projects.
> I will focus on fixing that for now, and file a bug upstream.

If a package does not build with Java 8 this does not mean that we
cannot use the latest JDK to build it.  For those packages we might have
to patch the build.xml to ensure that the JDK considers the source to be
of a different version.

javac supports the “-target” and “-source” options.  This might be
helpful in situations like this.

--
Ricardo

GPG: BCA6 89B6 3655 3801 C3C6  2150 197A 5888 235F ACAC
https://elephly.net




reply via email to

[Prev in Thread] Current Thread [Next in Thread]