Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [che-dev] Support for multiple Java versions

Hello,

I would opt-in for different runtime images.
You were talking about Java 8 and Java 11 but for example Java 12 is also there. I think it's more scaling than the all-in-one image.
Also there are different flavours of Java now like Oracle JDK, OpenJDK, Amazon Coretto, etc.

Sticking only Java 8 is not nice when you're developing apps using the latest versions.



On Thu, Jul 4, 2019 at 1:30 PM <tmader@xxxxxxxxxx> wrote:
Hi folks,

we're trying to fix https://github.com/eclipse/che/issues/13547 and in have multiple ways to attack this problem:

1. We go back to basing our tooling on Java 8. 

Some support for modern features (modules, etc.) may be missing in the IDE.

2. We have multiple plugins for Java support in Che 7 

This would mean having plugins with id redhat/java8, redhat/java11. Existing workspaces and devfiles would have to be updated

3. Include multiple JDK's in the sidecar

Devfiles could override the jdk that is used through setting the JAVA_HOME env var. The user can override this in the preferences (java.home pref) The downside to this is that the tooling sidecar grows by 250M for every version we include

Our current thinking is that we would not support all versions, but only Java 8 and Java 11.

I'd be interested in hearing some feedback what the best way forward would be.

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

Back to the top