Sun having 2 distinct containers doesn't mean not being consistent. We can still update the default Java stack to to have the same versions of the JDK in both the LS and the user runtime/builder image.
But we should encourage users to user their own CI and prod images in their Che workspaces. And discourage them to patch/replace their images to host our Java/Go/Python LS. We should make it possible to replace the container that host the LS but we should make it clear that the default should be to use that is in the che registry. And if we are not going to do it users won't do it neither.
Something that we need to improve to make this more straight forward is to have multiple remote-plugin-runner-java images for different versions of the JDK and having different versions of the plugin in the che-plugin-registry. In other words today we have
che-plugin-registry/plugins/org.eclipse.che.vscode-redhat.java/
|
'--- 0.38.0/
but I think we should have instead
che-plugin-registry/plugins/org.eclipse.che.vscode-redhat.java/
|
Last week Thomas started a thread about plugins versioning and specifically how to distinguish 2 plugins whith the same vs code extension version level but using different containers and that's a good use case.