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: Ricardo Wurmus
Subject: Re: java: switch to icedtea-8 as default JDK
Date: Sun, 17 Dec 2017 15:26:49 +0100
User-agent: mu4e 0.9.18; emacs 25.3.1

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]