Is there a tutorial on Embedding processing code in JAVA in Eclipse?

I followed the build path tutorials. The

import processing.core.*

works fine but Java doesnot acknowledge color in hex form. Similar is the case with variables like height.

Also many many functions are throwing undefined error like pushMatrix(), popMatrix() , translate(), textSize(), map().

Are there any resources that will help me overcome this problem in general? Instead of specific problems there must be something that teaches the whole process. I tried finding but to no avail.

Did you look on the tutorial section of the website?

It was very easy, just had to export it into application.
One problem still persist though, it cannot locate the associated files like images and tsv data files. Any idea?

Sorry, there used to be a good tutorial

Not anymore


There is no longer a tutorial on the Processing site even though FAQ refers to it:

This may be of interest:


1 Like

I can’t thank you guys enough.

I’ve ran into what seems a final hurdle

java.lang.RuntimeException: The P3D renderer is not in the class path.
at processing.core.PApplet.makeGraphics(
at processing.core.PApplet.createPrimaryGraphics(
at processing.core.PApplet.initSurface(
at processing.core.PApplet.runSketch(
at processing.core.PApplet.main(
at Two_Maps_Texture.main(

I’ve imported all the jar files like the resources tell me to but still I get the error.