I’m failing to run the Jpype wrapper on a Windows machine.
I have a .venv on Pycharm with orekit-jpype installed
When I run the following script:
import orekit_jpype as orekit
orekit.initVM()
if __name__ == '__main__':
pass
I get the following error:
Error occurred during initialization of VM
Could not find agent library instrument on the library path, with error: La proc�dure sp�cifi�e est introuvable
Module java.instrument may be missing from runtime image.
Process finished with exit code 1
I’ve got Java 21 on my machine and if I do jpype.getDefaultJVMPath() it’s giving its location.
A new version of orekit-jpype, 12.2.1.1, was pushed to PyPi (thanks Petrus!). It now depends on jpype version 1.5.0 while waiting for a new jpype release containing the fix.