I am trying to build a program using the Processing library in eclipse. The process should be relatively straightforward but I cannot compile even an empty processing program. I
I cannot compile even an empty processing program.
This is not a compiler error. This is a runtime error.
Anyway, like chrylis mentioned, this is because your classpath is not correct. How you fix this depends on which IDE you're using, but in eclipse you would right-click your project, then click properties, then go to the Java Build Path
section on the left. Then go to the Libraries
tab and add the Processing jars.
My guess is that you've added core.jar
, which is all you need to compile your code. But since you're running on a Mac, you need the Mac-specific jars as well. You'll have to look in your Processing installation directory. Sorry I can't be more specific, but I don't have a Mac.