New to Object Oriented Programming and Processing
in
Programming Questions
•
2 years ago
Hello,
I am trying to run XbeeApiExample.pde from the xbee 1.5 Processing Library from http://www.faludi.com/ I am not very clear on what the following code is intended to do:
processing.app.debug.RunnerException: RuntimeException: java.lang.ClassNotFoundException: processing.XBee
at processing.app.Sketch.placeException(Sketch.java:1543)
at processing.app.debug.Runner.findException(Runner.java:582)
at processing.app.debug.Runner.reportException(Runner.java:558)
at processing.app.debug.Runner.exception(Runner.java:498)
at processing.app.debug.EventThread.exceptionEvent(EventThread.java:367)
at processing.app.debug.EventThread.handleEvent(EventThread.java:255)
at processing.app.debug.EventThread.run(EventThread.java:89)
Exception in thread "main" java.lang.RuntimeException: java.lang.ClassNotFoundException: processing.XBee
at processing.core.PApplet.main(Unknown Source)
at XbeeApiExample.main(XbeeApiExample.java:55)
Caused by: java.lang.ClassNotFoundException: processing.XBee
at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
... 2 more
If I comment the mentioned code out the rest of the code works fine. I am running Ubuntu 10.04 LTS with Sun Java 1.6.0_22. I am trying to learn Java (and object oriented programming) so I apologize in advance if this is a totally dumb question :)
Cheers!
Wess
I am trying to run XbeeApiExample.pde from the xbee 1.5 Processing Library from http://www.faludi.com/ I am not very clear on what the following code is intended to do:
- static public void main(String args[]) {
PApplet.main(new String[] { "processing.XBee"});
}
processing.app.debug.RunnerException: RuntimeException: java.lang.ClassNotFoundException: processing.XBee
at processing.app.Sketch.placeException(Sketch.java:1543)
at processing.app.debug.Runner.findException(Runner.java:582)
at processing.app.debug.Runner.reportException(Runner.java:558)
at processing.app.debug.Runner.exception(Runner.java:498)
at processing.app.debug.EventThread.exceptionEvent(EventThread.java:367)
at processing.app.debug.EventThread.handleEvent(EventThread.java:255)
at processing.app.debug.EventThread.run(EventThread.java:89)
Exception in thread "main" java.lang.RuntimeException: java.lang.ClassNotFoundException: processing.XBee
at processing.core.PApplet.main(Unknown Source)
at XbeeApiExample.main(XbeeApiExample.java:55)
Caused by: java.lang.ClassNotFoundException: processing.XBee
at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
... 2 more
If I comment the mentioned code out the rest of the code works fine. I am running Ubuntu 10.04 LTS with Sun Java 1.6.0_22. I am trying to learn Java (and object oriented programming) so I apologize in advance if this is a totally dumb question :)
Cheers!
Wess
1
