From owner-freebsd-ports@FreeBSD.ORG Thu Apr 26 21:36:34 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 A2D5A1065675 for ; Thu, 26 Apr 2012 21:36:34 +0000 (UTC) (envelope-from freebsd-ports@m.gmane.org) Received: from plane.gmane.org (plane.gmane.org [80.91.229.3]) by mx1.freebsd.org (Postfix) with ESMTP id 5AE698FC16 for ; Thu, 26 Apr 2012 21:36:34 +0000 (UTC) Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1SNWMY-0004kf-F3 for freebsd-ports@freebsd.org; Thu, 26 Apr 2012 23:36:30 +0200 Received: from pool-108-35-132-213.nwrknj.fios.verizon.net ([108.35.132.213]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 26 Apr 2012 23:36:30 +0200 Received: from ixew by pool-108-35-132-213.nwrknj.fios.verizon.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 26 Apr 2012 23:36:30 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-ports@freebsd.org From: enoch Date: Thu, 26 Apr 2012 17:36:19 -0400 Lines: 40 Message-ID: <871una5g6k.fsf@hotmail.com> References: <874ns8nc8o.fsf@hotmail.com> <871unafrk0.fsf@hotmail.com> Mime-Version: 1.0 Content-Type: text/plain X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: pool-108-35-132-213.nwrknj.fios.verizon.net User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.93 (berkeley-unix) Cancel-Lock: sha1:Ngr2e4r1xTipqvWGsueIH6Tj3i8= 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 21:36:34 -0000 Warren Block writes: > 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. Ridding myself of Oracle dependency (that is, switching to openjdk6) solved the problem. Thanks. Enoch. P/S I guess ports/UPDATING should have a call to do the same.