I would like to test my JAI enabled application, but seem to be getting errors
when accessing the JAI components. I suspect this is caused by the absence of
native support. I tried setting the java.library.path using systemProperties as
well as argLine, however none of these options result in the change appearing
in the surefire report.
pom.xml
-------
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.17</version>
<configuration>
<argLine>-Djava.library.path=/usr/lib64/sun-jai-bin/</argLine>
</configuration>
</plugin>
surefire-report
===============
<property name="java.library.path"
value="/opt/oracle-jdk-bin-1.8.0.11/jre/lib/amd64:/opt/oracle-jdk-bin-1.8.0.11/jre/lib/i386::/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib"/>
I am using netbeans (v8) and surefire 2.17.
Thanks
Alex