They are built from the same code base. Any differences are just down to the license, packaging, etc.
https://www.oracle.com/java/technologies/javase/17all-relnot...
It's really just 'usage logging', which is for Oracle's management tools. Their stated aim is to eliminate the functional differences, so presumably they are awaiting a non-proprietary replacement for that feature in JDK.