Hi all,
as this is my first contribution here I hope it is sorted into the correct category.
If an initial release of Java JDK is installed the version tag is e.g. 21 (not 21.0.0, see release notes: JDK 21 release notes). However orekit_jpype expects something in the three number format. In file “orekit_jpype/orekit_jpype.py” line 59 (“java_major_version,_,_ = jpype.getJVMVersion()") the version gets checked. This results in an error for initial releases ("ValueError: not enough values to unpack (expected 3, got 1)).
As a solution I propose changeing line 59 to
java_major_version = jpype.getJVMVersion()[0]
This way it should work with initial releases like 21 or 25 as well as with updated ones like 21.0.8.
Regards
Steffen