maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexander <a...@j2anywhere.com>
Subject Setting java.library.path in surefire/maven/netbeans
Date Mon, 21 Jul 2014 20:03:25 GMT
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


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message