From owner-freebsd-ports@FreeBSD.ORG Thu Apr 26 17:26:47 2012 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D67FD1065673 for ; Thu, 26 Apr 2012 17:26:47 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) by mx1.freebsd.org (Postfix) with ESMTP id 90BEF8FC18 for ; Thu, 26 Apr 2012 17:26:47 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.5/8.14.5) with ESMTP id q3QHQjfa021447; Thu, 26 Apr 2012 11:26:45 -0600 (MDT) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.5/8.14.5/Submit) with ESMTP id q3QHQjnu021444; Thu, 26 Apr 2012 11:26:45 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Thu, 26 Apr 2012 11:26:45 -0600 (MDT) From: Warren Block To: enoch In-Reply-To: <871unafrk0.fsf@hotmail.com> Message-ID: References: <874ns8nc8o.fsf@hotmail.com> <871unafrk0.fsf@hotmail.com> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.7 (wonkity.com [127.0.0.1]); Thu, 26 Apr 2012 11:26:46 -0600 (MDT) Cc: freebsd-ports@freebsd.org Subject: Re: arduino-1.0_2,1 execution failure X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Apr 2012 17:26:47 -0000 On Thu, 26 Apr 2012, enoch wrote: > Warren Block writes: > >> On Tue, 24 Apr 2012, enoch wrote: >> >>> $ arduino >>> Exception in thread "main" java.lang.NoClassDefFoundError: gnu/io/CommPortIdentifier >>> at processing.app.Editor.populateSerialMenu(Editor.java:969) >>> at processing.app.Editor.buildToolsMenu(Editor.java:697) >>> at processing.app.Editor.buildMenuBar(Editor.java:482) >>> at processing.app.Editor.(Editor.java:204) >>> at processing.app.Base.handleOpen(Base.java:700) >>> at processing.app.Base.handleOpen(Base.java:665) >>> at processing.app.Base.handleNew(Base.java:561) >>> at processing.app.Base.(Base.java:301) >>> at processing.app.Base.main(Base.java:190) >>> Caused by: java.lang.ClassNotFoundException: gnu.io.CommPortIdentifier >>> at java.net.URLClassLoader$1.run(URLClassLoader.java:217) >>> at java.security.AccessController.doPrivileged(Native Method) >>> at java.net.URLClassLoader.findClass(URLClassLoader.java:205) >>> at java.lang.ClassLoader.loadClass(ClassLoader.java:321) >>> at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294) >>> at java.lang.ClassLoader.loadClass(ClassLoader.java:266) >>> ... 9 more >>> >>> $ uname -prs >>> FreeBSD 8.3-STABLE amd64 >> >> How was it installed? I just tried a fresh 8.3 i386 VM, installing from packages, and the Arduino IDE comes right up. > > It's the latest port build that fails. It may a current definicency in > the diablo-jdk-1.6.0.07.02_19 (again, from ports). Given the error, maybe a problem with rxtx. On both the 8.3/i386 and another 9-stable/amd64 I have openjdk6 and rxtx-openjdk6.