On Thu, 26 Apr 2012, enoch wrote:

Warren Block <wbl...@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.
_______________________________________________
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"

Reply via email to