Return-Path: X-Original-To: apmail-maven-users-archive@www.apache.org Delivered-To: apmail-maven-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id E816C11EAF for ; Tue, 22 Jul 2014 23:30:05 +0000 (UTC) Received: (qmail 20582 invoked by uid 500); 22 Jul 2014 23:30:04 -0000 Delivered-To: apmail-maven-users-archive@maven.apache.org Received: (qmail 20497 invoked by uid 500); 22 Jul 2014 23:30:04 -0000 Mailing-List: contact users-help@maven.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Maven Users List" Reply-To: "Maven Users List" Delivered-To: mailing list users@maven.apache.org Received: (qmail 20486 invoked by uid 99); 22 Jul 2014 23:30:03 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 22 Jul 2014 23:30:03 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of alex@j2anywhere.com designates 203.59.39.207 as permitted sender) Received: from [203.59.39.207] (HELO tinyturtle.spottedmouse.com) (203.59.39.207) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 22 Jul 2014 23:30:02 +0000 Received: from localhost (localhost [127.0.0.1]) by tinyturtle.spottedmouse.com (Postfix) with ESMTP id A5F9A4605F1 for ; Wed, 23 Jul 2014 07:29:34 +0800 (WST) X-Virus-Scanned: amavisd-new at spottedmouse.com Received: from tinyturtle.spottedmouse.com ([127.0.0.1]) by localhost (tinyturtle.spottedmouse.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id HxyZb17qUcZI for ; Wed, 23 Jul 2014 07:29:33 +0800 (WST) Received: from tinyturtle.spottedmouse.com (tinyturtle.spottedmouse.com [192.168.0.3]) (using TLSv1 with cipher ECDHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: alex@j2anywhere.com) by tinyturtle.spottedmouse.com (Postfix) with ESMTPSA id C0BBA4605F0 for ; Wed, 23 Jul 2014 07:29:33 +0800 (WST) Message-ID: <53CEF3DD.9010305@j2anywhere.com> Date: Wed, 23 Jul 2014 07:29:33 +0800 From: Alexander User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 MIME-Version: 1.0 To: Maven Users List Subject: Re: Setting java.library.path in surefire/maven/netbeans References: <53CD720D.7020505@j2anywhere.com> In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Could you post you pom please, just so I can compare. Also did you see the updated setting in the sure-fire report ? On 22/07/14 20:51, Arnaud bourree wrote: > I used -Djava.library.path=... without issue with > Netbeans 8 and Surefire 2.17 > > Arnaud > > > 2014-07-21 22:03 GMT+02:00 Alexander : > >> 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 >> ------- >> >> org.apache.maven.plugins >> maven-surefire-plugin >> 2.17 >> >> -Djava.library.path=/usr/lib64/sun-jai-bin/ >> >> >> >> surefire-report >> =============== >> > >> 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-unsubscribe@maven.apache.org For additional commands, e-mail: users-help@maven.apache.org