Running Processing from SVN trunk inside eclipse Fixed!
in
Library and Tool Development
•
1 year ago
Hi,
Tools.jar contains sun's implementation of jdi, and using it doesn't cause any problems.
Pretty excited to solve this irritating issue so sharing it in the forum. Hope it's useful.
If you've downloaded Processing source from svn and are using eclipse to tinker things around in processing's source code, you'd know that running any sketch from inside the processing app after launching Base.java threw nasty NPEs. The problem was due to using eclipse's jdi.jar.
Instead of using eclipse's jdi.jar, add tools.jar located inside your java jdk\lib directory to processing project classpath. Now run Base.java as a Java application and all sketches not only compile, but also run perfectly!
Tools.jar contains sun's implementation of jdi, and using it doesn't cause any problems.
Pretty excited to solve this irritating issue so sharing it in the forum. Hope it's useful.
Manindra
1