I coded my Java script using Eclipse and exported it into a Runnable JAR file in order to use Matlab to scatter different propagation parameters. It used to work fine when I was using Orekit 9.2, at that time I was only importing a single self-contained orekit-9.2.jar file and I think it was fine as all the data were in a single file.
But now that I’m using orekit-10.0.jar which I only found as a class folder, the export seems to be handled in a way which does not export all the data required, here it seems like it did not export the frames data contained in the orekit-10.0.jar folder. Hence Matlab crashes with the following message:
Exception in thread "main" org.orekit.errors.OrekitException: unable to find file /assets/org/orekit/IERS-conventions/2010/nutation-arguments.txt at org.orekit.data.FundamentalNutationArguments.parseCoefficients(FundamentalNutationArguments.java:174) at org.orekit.data.FundamentalNutationArguments.<init>(FundamentalNutationArguments.java:133) at org.orekit.utils.IERSConventions$3.getNutationArguments(IERSConventions.java:1632) at org.orekit.utils.IERSConventions$3.getXYSpXY2Function(IERSConventions.java:1675) at org.orekit.frames.CIRFProvider.<init>(CIRFProvider.java:62) at org.orekit.frames.FramesFactory.getCIRF(FramesFactory.java:822) at org.orekit.frames.FramesFactory.getTIRF(FramesFactory.java:772) at org.orekit.frames.FramesFactory.getITRF(FramesFactory.java:677)
Would anyone know a way around this issue?
Thank you very much!