dd-trace-java icon indicating copy to clipboard operation
dd-trace-java copied to clipboard

JVM version output can omit minor or patch suffixes

Open MattAlp opened this issue 1 year ago • 0 comments

What Does This Do

Patches the setup script to account for release numbers with minor / patch omitted.

Motivation

The ./setup.sh script presumes that the version number output of java -version will follow semver conventions, so major versions will be followed by a .. In the case of some JDKs, i.e. Temurin 17, the output only includes the major number:

dd-trace-java % $JAVA_17_HOME/bin/java -version                                
openjdk version "17" 2021-09-14
OpenJDK Runtime Environment Temurin-17+35 (build 17+35)
OpenJDK 64-Bit Server VM Temurin-17+35 (build 17+35, mixed mode)

Additional Notes

Jira ticket: will backfill if needed

MattAlp avatar May 23 '24 21:05 MattAlp