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

**URL:** <https://discourse.processing.org/t/is-there-a-tutorial-on-embedding-processing-code-in-java-in-eclipse/19650>\
**Category:** Processing\
**Created:** [April 11, 2020, 2:24am UTC](https://discourse.processing.org/t/is-there-a-tutorial-on-embedding-processing-code-in-java-in-eclipse/19650 "2020-04-11T02:24:10Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Samizen](https://avatars.discourse-cdn.com/v4/letter/s/dfb087/32.png) [@Samizen](https://discourse.processing.org/u/Samizen)\
**Post date:** [April 11, 2020, 2:24am UTC](https://discourse.processing.org/t/is-there-a-tutorial-on-embedding-processing-code-in-java-in-eclipse/19650/1 "2020-04-11T02:24:10Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![Chrisir](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/chrisir/32/45_2.png) [@Chrisir](https://discourse.processing.org/u/Chrisir)\
**Post date:** [April 11, 2020, 2:27am UTC](https://discourse.processing.org/t/is-there-a-tutorial-on-embedding-processing-code-in-java-in-eclipse/19650/2 "2020-04-11T02:27:44Z")

</div>

Did you look on the tutorial section of the website?

---

<div class="post-metadata">

**Author:** ![Samizen](https://avatars.discourse-cdn.com/v4/letter/s/dfb087/32.png) [@Samizen](https://discourse.processing.org/u/Samizen)\
**Post date:** [April 11, 2020, 3:13am UTC](https://discourse.processing.org/t/is-there-a-tutorial-on-embedding-processing-code-in-java-in-eclipse/19650/3 "2020-04-11T03:13:10Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![Chrisir](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/chrisir/32/45_2.png) [@Chrisir](https://discourse.processing.org/u/Chrisir)\
**Post date:** [April 11, 2020, 3:19am UTC](https://discourse.processing.org/t/is-there-a-tutorial-on-embedding-processing-code-in-java-in-eclipse/19650/4 "2020-04-11T03:19:49Z")

</div>

Sorry, there used to be a good tutorial

Not anymore

---

<div class="post-metadata">

**Author:** ![glv](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/glv/32/18785_2.png) [@glv](https://discourse.processing.org/u/glv)\
**Post date:** [April 11, 2020, 3:22am UTC](https://discourse.processing.org/t/is-there-a-tutorial-on-embedding-processing-code-in-java-in-eclipse/19650/5 "2020-04-11T03:22:37Z")

</div>

Hello,

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

> **[processing/processing](https://github.com/processing/processing/wiki/FAQ)**
>
> Source code for the Processing Core and Development Environment (PDE) - processing/processing

This may be of interest:

> **[Processing in Java](https://happycoding.io/tutorials/java/processing-in-java)**
>
> Learn how to use Processing as a Java library.

`:)`

---

<div class="post-metadata">

**Author:** ![Samizen](https://avatars.discourse-cdn.com/v4/letter/s/dfb087/32.png) [@Samizen](https://discourse.processing.org/u/Samizen)\
**Post date:** [April 11, 2020, 3:38am UTC](https://discourse.processing.org/t/is-there-a-tutorial-on-embedding-processing-code-in-java-in-eclipse/19650/6 "2020-04-11T03:38:10Z")

</div>

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(PApplet.java:2311)  
> at processing.core.PApplet.createPrimaryGraphics(PApplet.java:2345)  
> at processing.core.PApplet.initSurface(PApplet.java:10983)  
> at processing.core.PApplet.runSketch(PApplet.java:10922)  
> at processing.core.PApplet.main(PApplet.java:10620)  
> at Two\_Maps\_Texture.main(Two\_Maps\_Texture.java:355)

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

 ![Capture3](https://canada1.discourse-cdn.com/flex036/uploads/processingfoundation1/original/2X/c/c3a8cd86bfe03829b3cc8b66ca27998ac55481f8.png)
