I've been testing processing sketches in Eclipse with success. However I had trouble with video library. I checked it is included in the build path. Proclipsing do it automatically. Here's an screen.
- Exception in thread "Animation Thread" java.lang.NoClassDefFoundError: com/sun/jna/Platform
- at processing.video.LibraryPath.get(Unknown Source)
- at processing.video.Video.buildWindowsPaths(Unknown Source)
- at processing.video.Video.initImpl(Unknown Source)
- at processing.video.Video.init(Unknown Source)
- at processing.video.Capture.list(Unknown Source)
- at processing.video.Capture.list(Unknown Source)
- at processing.video.Capture.<init>(Unknown Source)
- at dotvideo.DotVideo.setup(DotVideo.java:20)
- at processing.core.PApplet.handleDraw(PApplet.java:2280)
- at processing.core.PGraphicsJava2D.requestDraw(PGraphicsJava2D.java:243)
- at processing.core.PApplet.run(PApplet.java:2176)
- at java.lang.Thread.run(Unknown Source)
- Caused by: java.lang.ClassNotFoundException: com.sun.jna.Platform
- at java.net.URLClassLoader$1.run(Unknown Source)
- at java.net.URLClassLoader$1.run(Unknown Source)
- at java.security.AccessController.doPrivileged(Native Method)
- at java.net.URLClassLoader.findClass(Unknown Source)
- at java.lang.ClassLoader.loadClass(Unknown Source)
- at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
- at java.lang.ClassLoader.loadClass(Unknown Source)
- ... 12 more
1