Skip to main content

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

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]

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

Back to the top