corb2 icon indicating copy to clipboard operation
corb2 copied to clipboard

Supported versions of Java

Open grtjn opened this issue 10 months ago • 2 comments

It is a bit unclear which highest and lowest versions of JRE and JDK are supported. Is it really just JRE 8+, meaning JDK21 will work fine too? Maybe useful to add a support table in the README.

grtjn avatar Jan 23 '25 07:01 grtjn

Same question for com.marklogic:marklogic-corb and com.marklogic.gradle.task.CorbTask in Gradle.

grtjn avatar Jan 23 '25 07:01 grtjn

Unless/until issues are identified with later versions of Java that can't be resolved, I would expect that they all work and that it really should be Java 8 or later. CoRB is currently developed on and compiled for Java 8 compatibility.

As issues are identified, we have made adjustments. For instance, issue #214 to remove the dependency on deprecated JAXB javax.xml.bind package.

The ml-gradle CorbTask uses reflection in order to dynamically build the set of CoRB task options from the Options class. So, that is where I would expect issues to arise in later versions of Java, but I haven't heard of any issues.

If you do encounter a problem with a particular version of Java please raise an issue.

hansenmc avatar Jan 23 '25 13:01 hansenmc