From owner-freebsd-questions@freebsd.org Mon Dec 5 21:53:52 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 457B9C6891D for ; Mon, 5 Dec 2016 21:53:52 +0000 (UTC) (envelope-from bah@bananmonarki.se) Received: from feeder.usenet4all.se (1-1-1-38a.far.sth.bostream.se [82.182.32.53]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id BF2041D78 for ; Mon, 5 Dec 2016 21:53:50 +0000 (UTC) (envelope-from bah@bananmonarki.se) Received: from testbox.news4all.se (testbox.usenet4all.se [10.0.0.3]) by feeder.usenet4all.se (8.13.1/8.13.1) with ESMTP id uB5LrhA3097064; Mon, 5 Dec 2016 22:53:43 +0100 (CET) (envelope-from bah@bananmonarki.se) Subject: Re: Looking for some direction To: Kyle Evans References: <063f11ba-3f83-c713-5a79-01d4e632e35e@bananmonarki.se> <149b286a-bf0a-4ef7-1636-f956253df2c2@bananmonarki.se> Cc: Patrick Mahan , FreeBSD Mailing List From: Bernt Hansson Message-ID: <2edd90d8-02bb-1c7c-41dc-5128ba98081b@bananmonarki.se> Date: Mon, 5 Dec 2016 22:53:43 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:45.0) Gecko/20100101 Thunderbird/45.5.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Dec 2016 21:53:52 -0000 On 2016-12-05 21:27, Kyle Evans wrote: > On Mon, Dec 5, 2016 at 2:13 PM, Bernt Hansson wrote: >>> Hello! >>> >>> 1.) What ${ARCH} is this? >> Atmega328 > Sorry, I should have more specific. =) What is the ARCH of the host system? Ok. It's amd64 > > The problem is that the JRE is choosing the wrong JSSC and it's > failing to link the JNI bits. It looks like the other instance of > problem here was due to some remnant of another JSSC laying around. > What do the following look like? > > 1.) `pkg info -x jdk` pkg info -x jdk bootstrap-openjdk-r351880_1 openjdk-7.111.01_1,1 openjdk8-8.112.16 rxtx-openjdk8-2.2p2_2 > 2.) `find /usr/local/share/linux-jdk* -name 'jssc*'` find /usr/local/share/linux-jdk* -name 'jssc*' find: No match. > > If you could give me the above, I would appreciate it. =) In worst > case scenario, if it's doable, the following steps seemed to resolve: > >> pkg delete -x jdk >> rm -r /usr/local/share/linux-jdk* (was empty, only some directories left) >> pkg install arduino16 I don't have that /usr/local/share/linux-jdk* directory. But i'll try it out. >> Knowing if that works for you as well would also be helpful. >> >> Thanks, >> >> Kyle Evans >> >>