> you either need to set it for the whole Maven process or fork your > execution, using exec:exec instead of exec:java.
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: Exception in thread "main" java.lang.UnsatisfiedLinkError: no jacob-1.20-x64 in java.library.path: C:\Program Files\Java\jdk-17\bin;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:\Cygwin\usr\local\bin;C:\Cygwin\bin;C:\Program Files\Common Files\Oracle\Java\javapath;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0;C:\Windows\System32\OpenSSH;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files\NVIDIA Corporation\NVIDIA NvDLISR;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0;C:\Windows\System32\OpenSSH;C:\Program Files (x86)\Common Files\Intuit\QBPOSSDKRuntime;C:\Program Files\Google\Google Apps Sync;C:\Program Files\Maven\bin;C:\Users\neil\AppData\Local\Microsoft\WindowsApps;. It is not using the java.library.path I am giving it. Thank you, Neil -- Neil Aggarwal, 972-834-1565, http://propfinancing.com We offer 30 year loans on single family houses!
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>FAIntegration</groupId> <artifactId>FAIntegration</artifactId> <version>0.0.1-SNAPSHOT</version> <dependencies> <dependency> <groupId>com.jacob</groupId> <artifactId>jacob</artifactId> <version>1.20</version> </dependency> <dependency> <groupId>com.propfinancing</groupId> <artifactId>pflib</artifactId> <version>5.0.0</version> </dependency> <dependency> <groupId>in.hiaust</groupId> <artifactId>unitedstates</artifactId> <version>1.1</version> </dependency> <dependency> <groupId>org.apache.logging.log4j</groupId> <artifactId>log4j-core</artifactId> <version>2.19.0</version> </dependency> </dependencies> <build> <sourceDirectory>src</sourceDirectory> <resources> <resource> <directory>src</directory> <excludes> <exclude>**/*.java</exclude> </excludes> </resource> </resources> <plugins> <plugin> <artifactId>maven-compiler-plugin</artifactId> <version>3.8.1</version> <configuration> <source>8</source> <target>8</target> </configuration> </plugin> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>exec-maven-plugin</artifactId> <version>3.1.1</version> <goals> <goal>exec</goal> </goals> <configuration> <systemProperties> <systemProperty> <key>java.library.path</key> <value>C:\OneDrive\Dev\Jacob</value> </systemProperty> </systemProperties> </configuration> </plugin> </plugins> </build> </project>
--------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org