[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-dev] Does tycho build with OpenJDK 9?



On Mon, May 28, 2018 at 4:43 PM, Mickael Istria <mistria@xxxxxxxxxx> wrote:
Hi all,

I cannot build locally today, I see
"""
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.7.0:compile (default-compile) on project tycho-lib-detector: Compilation failure: Compilation failure:
[ERROR] Source option 1.3 is no longer supported. Use 1.6 or later.
[ERROR] Target option 1.1 is no longer supported. Use 1.6 or later.
[ERROR] -> [Help 1]

IMHO all these should be updated to 1.6+. Anything older than that should be out of question especially considering that Java 11 is supposed to drop even 1.6. The fact that there is no OSS full featured pre 1.6 JVM makes it more than obvious for OSS projects to me.
Jan, do you agree with bumping to Java 1.6+ so compiling with latest Java (10 at time of writing is working well) and working with latest LTS Java (8 at time of writing).

"""

I'm using openjdk 9 here.
"""
mistria@mistria-rh:~/git/org.eclipse.tycho$ javac -version
javac 9.0.4
mistria@mistria-rh:~/git/org.eclipse.tycho$ java -version
openjdk version "9.0.4"
OpenJDK Runtime Environment (build 9.0.4+11)
OpenJDK 64-Bit Server VM (build 9.0.4+11, mixed mode)
"""

Are there some restriction about which JDK should be used in order to built Tycho? Or is there anything else I need to tweak?

--
Mickael Istria
Eclipse IDE developer, for Red Hat Developers

_______________________________________________
tycho-dev mailing list
tycho-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/tycho-dev



--
Alexander Kurtakov
Red Hat Eclipse Team