Hi Arnaud, What version of Java are you using. I am using Java 8U11.
Regards Alex On 22/07/14 20:51, Arnaud bourree wrote: > I used <argLine>-Djava.library.path=...</argLine> without issue with > Netbeans 8 and Surefire 2.17 > > Arnaud > > > 2014-07-21 22:03 GMT+02:00 Alexander <a...@j2anywhere.com>: > >> 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 >> >> --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org