Sat, 6 Jan 2024 00:29:57 -0600, /Neil Aggarwal/:
OK, so I changed to try to use the exec:exec goal.
I updated the goal in my pom.xml (Attached) and tried this command line:
mvn exec:exec -Dexec.executable="java" -Dexec.args="-cp %classpath
com.fiscalassets.tax.PrintForm1098s application.properties.FiscalAssets"
I still get this error:
[...]
It is not using the java.library.path I am giving it.
As far as I get you should pass java.library.path in the java executable
arguments:
mvn exec:exec -Dexec.executable="java"
-Dexec.args="-Djava.library.path=... application.properties.FiscalAssets"
Alternatively, with exec:java try setting MAVEN_OPTS:
set MAVEN_OPTS=-Djava.library.path=...
mvn exec:java ...
--
Stanimir
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org