Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Apr 2012 11:26:45 -0600 (MDT)
From:      Warren Block <wblock@wonkity.com>
To:        enoch <ixew@hotmail.com>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: arduino-1.0_2,1 execution failure
Message-ID:  <alpine.BSF.2.00.1204261125210.21254@wonkity.com>
In-Reply-To: <871unafrk0.fsf@hotmail.com>
References:  <874ns8nc8o.fsf@hotmail.com> <alpine.BSF.2.00.1204252145210.17601@wonkity.com> <871unafrk0.fsf@hotmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 26 Apr 2012, enoch wrote:

> Warren Block <wblock@wonkity.com> 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.<init>(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.<init>(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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.00.1204261125210.21254>