1Writing processing programs using eclipse1.1Preparation instructions
2015-08-11 22:25:23
Local Environment: mac,jdk8,processing2.2
This article uses the Mac to test, in the Linux and the win under also does not have the difference, the principle is consistent
Reference articles
Https://processing.org/tutorials/eclipse/Processing in Eclipse
1.2Find the processing jar package
Processing installed on Mac system, right-click on program->show Package Contents (Show packages contents)
It's like this when it's open.
The jar packs are what we need, and we can copy them out.
1.3Importing jar packages to eclipse
The next step is to import the jar packages we need in Eclipse, select File->import->file system-> in Eclipse, select the directory where the jar package is located, select the jar package we need, Here we only select Core.jar, click Finish to continue
Then right-click the add to build path, Core.jar, build path, which you just imported, and put the imported jar in the build path
1.4Write a processing program under Eclipse
Now we can use eclipse to write the processing program.
Test.java public class Test extends Papplet {public void Setup () {size (300,200); Ellipse (100, 100, 30, 30); } }
Right-click Run as Java applet running program
Writing processing programs using eclipse