[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [tycho-dev] Does tycho build with OpenJDK 9?
- From: "Sievers, Jan" <jan.sievers@xxxxxxx>
- Date: Tue, 29 May 2018 05:13:31 +0000
- Accept-language: en-US
- Delivered-to: firstname.lastname@example.org
- Thread-index: AQHT9orCp6C8LITtpkqxjV8/NHrcYaRFb6SAgAC6uYA=
- Thread-topic: [tycho-dev] Does tycho build with OpenJDK 9?
- User-agent: Microsoft-MacOutlook/10.d.0.180513
this code is used to detect the compilation bootclasspath with useJDK=BREE
it forks a small main program using the configured JDK
AFAIK eclipse platform is still using very old JDKs (1.4) and the bytecode level of the compiled Main needs to be able to run on the oldest JDK used
ïOn 28.05.18, 22:11, "tycho-dev-bounces@xxxxxxxxxxx on behalf of Aleksandar Kurtakov" <tycho-dev-bounces@xxxxxxxxxxx on behalf of akurtako@xxxxxxxxxx> wrote:
On Mon, May 28, 2018 at 4:43 PM, Mickael Istria
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
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
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?
Eclipse IDE <https://www.eclipse.org/downloads/eclipse-packages/> developer, for
Red Hat Developers <https://developers.redhat.com/>
tycho-dev mailing list
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
Red Hat Eclipse Team