Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cross-project-issues-dev] Java 9 Readiness

On Mon, Mar 13, 2017 at 9:32 PM Jonah Graham <jonah@xxxxxxxxxxxxxxxx> wrote:
Are there any examples of any project's HIPP config that does this? I assume I need to set up a tycho configuration that builds with Java 8 but runs tests with Java 9.

You can do this locally or on Hudson. A Java 9 VM is installed on Hudson (bug 469515).

I'm not sure that installed Java 9 is usable by projects other than Platform - bug 469515 states this and uses location that doesn't look to be accessible by others, at least it didn't worked for me.

But principle is correct: create toolchains.xml pointing to Java 9 and instruct Tycho to use it ( ) instead of the one that executes Maven. We are using this in Travis to run build with Java 8, but some tests with Java 7 -  see


Back to the top