# Cannot call circle() in seperate java file

**URL:** https://discourse.processing.org/t/cannot-call-circle-in-seperate-java-file/22439
**Category:** Coding Questions
**Created:** [July 7, 2020, 6:07am UTC](https://discourse.processing.org/t/cannot-call-circle-in-seperate-java-file/22439 "2020-07-07T06:07:04Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![GoToLoop](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/gotoloop/32/86_2.png) [@GoToLoop](https://discourse.processing.org/u/GoToLoop)
#### Post date: [July 7, 2020, 6:17am UTC](https://discourse.processing.org/t/cannot-call-circle-in-seperate-java-file/22439/2 "2020-07-07T06:17:40Z")

</div>

> [@Ackados](#):
>
> However, when I go to my Particle.java, I call `circle(100, 100, 10);` , I get errors.

> [@keyPressed and keyReleased with java(eclipse)](https://discourse.processing.org/t/keypressed-and-keyreleased-with-java-eclipse/12994/5):
>
> Oopsie! Just now I’ve noticed the end of your thread title better: “Java (Eclipse)”! woozy_face When using Eclipse and other similar IDEs, we need to use real Java syntax in files w/ “.java” extension. coffee Processing’s IDE (PDE) uses “.pde” files. Although it recognizes “.java” files too. innocent If you wanna, I can convert the class Player to actual Java syntax inside file “Player.java”. nerd_face But b/c I don’t have Eclipse, I won’t be able to test if it’s actually compilable …

---

_[View the full topic](https://discourse.processing.org/t/cannot-call-circle-in-seperate-java-file/22439)._
