# Can't run the first example in "Getting Started"

**URL:** <https://discourse.processing.org/t/cant-run-the-first-example-in-getting-started/40866>\
**Category:** Beginners\
**Created:** [February 7, 2023, 5:38pm UTC](https://discourse.processing.org/t/cant-run-the-first-example-in-getting-started/40866 "2023-02-07T17:38:38Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![TimH02130](https://avatars.discourse-cdn.com/v4/letter/t/838e76/32.png) [@TimH02130](https://discourse.processing.org/u/TimH02130)\
**Post date:** [February 7, 2023, 5:38pm UTC](https://discourse.processing.org/t/cant-run-the-first-example-in-getting-started/40866/1 "2023-02-07T17:38:38Z")

</div>

I started processing v4.1.2 for the first time and typed in the first example from the overview, i.e.

```auto
ellipse(50, 50, 80, 80);

```

and the message area immediately turns red and says `the function “ellipse(int, int, int, int)” does not exist’.

So I guess something about my installation isn’t right, although all I did was extract the tarball and run processing from the directory it created. The ~/sketchbook directory was created ok and there were no error messages upon startup.

Suggestions? I didn’t see this particular problem in “Troubleshooting”.

---

<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:** [February 7, 2023, 6:00pm UTC](https://discourse.processing.org/t/cant-run-the-first-example-in-getting-started/40866/2 "2023-02-07T18:00:42Z")

</div>

Yeah

Try to put size (660,660); before it?

---

<div class="post-metadata">

**Author:** ![TimH02130](https://avatars.discourse-cdn.com/v4/letter/t/838e76/32.png) [@TimH02130](https://discourse.processing.org/u/TimH02130)\
**Post date:** [February 7, 2023, 6:15pm UTC](https://discourse.processing.org/t/cant-run-the-first-example-in-getting-started/40866/3 "2023-02-07T18:15:28Z")

</div>

If I do that, it says `The function “noLoop()” does not exist’?

---

<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:** [February 7, 2023, 6:20pm UTC](https://discourse.processing.org/t/cant-run-the-first-example-in-getting-started/40866/4 "2023-02-07T18:20:05Z")

</div>

I assume you downloaded the correct version for your operating system (windows/ Linux)

---

<div class="post-metadata">

**Author:** ![TimH02130](https://avatars.discourse-cdn.com/v4/letter/t/838e76/32.png) [@TimH02130](https://discourse.processing.org/u/TimH02130)\
**Post date:** [February 7, 2023, 7:50pm UTC](https://discourse.processing.org/t/cant-run-the-first-example-in-getting-started/40866/5 "2023-02-07T19:50:55Z")

</div>

I downloaded the version for Ubuntu, and here’s the output of uname -a on my computer:

Linux tims-17Z990-R-AAS9U1 5.4.0-137-generic #154~18.04.1-Ubuntu SMP Tue Jan 10 16:58:20 UTC 2023 x86\_64 x86\_64 x86\_64 GNU/Linux

And here’s my java --version output:

openjdk 17.0.5 2022-10-18  
OpenJDK Runtime Environment (build 17.0.5+8-Ubuntu-2ubuntu118.04)  
OpenJDK 64-Bit Server VM (build 17.0.5+8-Ubuntu-2ubuntu118.04, mixed mode, sharing)

Is it possible I need to set an environment variable to tell it where to find Processing’s libraries (even though they’re in the same directory as the executable)?

---

<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:** [February 7, 2023, 8:11pm UTC](https://discourse.processing.org/t/cant-run-the-first-example-in-getting-started/40866/6 "2023-02-07T20:11:21Z")

</div>

That’s possible, I really don’t know

---

<div class="post-metadata">

**Author:** ![TimH02130](https://avatars.discourse-cdn.com/v4/letter/t/838e76/32.png) [@TimH02130](https://discourse.processing.org/u/TimH02130)\
**Post date:** [February 7, 2023, 9:08pm UTC](https://discourse.processing.org/t/cant-run-the-first-example-in-getting-started/40866/7 "2023-02-07T21:08:52Z")

</div>

Against the chance that there is someone out there who CAN help debug this issue, here’s the output of running the “processing” script with LOGGING=1:

APPDIR=/home/tfhavel/Applications/processing-4.1.2  
DIR=/home/tfhavel/Applications/processing-4.1.2/java  
L=rt.jar  
LIB=  
JDKCP=  
SUCCESS=0  
CLASSPATH=/home/tfhavel/Applications/processing-4.1.2/lib/ant-launcher.jar:/home/tfhavel/Applications/processing-4.1.2/lib/ant.jar:/home/tfhavel/Applications/processing-4.1.2/lib/flatlaf.jar:/home/tfhavel/Applications/processing-4.1.2/lib/jna-platform.jar:/home/tfhavel/Applications/processing-4.1.2/lib/jna.jar:/home/tfhavel/Applications/processing-4.1.2/lib/pde.jar:/home/tfhavel/Applications/processing-4.1.2/core/library/core.jar:/home/tfhavel/Applications/processing-4.1.2/core/library/gluegen-rt.jar:/home/tfhavel/Applications/processing-4.1.2/core/library/jogl-all.jar:/home/tfhavel/Applications/processing-4.1.2/modes/java/mode/JavaMode.jar:/home/tfhavel/Applications/processing-4.1.2/modes/java/mode/antlr-4.7.2-complete.jar:/home/tfhavel/Applications/processing-4.1.2/modes/java/mode/antlr.jar:/home/tfhavel/Applications/processing-4.1.2/modes/java/mode/classpath-explorer-1.0.jar:/home/tfhavel/Applications/processing-4.1.2/modes/java/mode/com.ibm.icu.jar:/home/tfhavel/Applications/processing-4.1.2/modes/java/mode/gson.jar:/home/tfhavel/Applications/processing-4.1.2/modes/java/mode/jdtCompilerAdapter.jar:/home/tfhavel/Applications/processing-4.1.2/modes/java/mode/jsoup-1.7.1.jar:/home/tfhavel/Applications/processing-4.1.2/modes/java/mode/org.eclipse.core.contenttype.jar:/home/tfhavel/Applications/processing-4.1.2/modes/java/mode/org.eclipse.core.jobs.jar:/home/tfhavel/Applications/processing-4.1.2/modes/java/mode/org.eclipse.core.resources.jar:/home/tfhavel/Applications/processing-4.1.2/modes/java/mode/org.eclipse.core.runtime.jar:/home/tfhavel/Applications/processing-4.1.2/modes/java/mode/org.eclipse.equinox.common.jar:/home/tfhavel/Applications/processing-4.1.2/modes/java/mode/org.eclipse.equinox.preferences.jar:/home/tfhavel/Applications/processing-4.1.2/modes/java/mode/org.eclipse.jdt.compiler.apt.jar:/home/tfhavel/Applications/processing-4.1.2/modes/java/mode/org.eclipse.jdt.core.jar:/home/tfhavel/Applications/processing-4.1.2/modes/java/mode/org.eclipse.lsp4j.jar:/home/tfhavel/Applications/processing-4.1.2/modes/java/mode/org.eclipse.lsp4j.jsonrpc.jar:/home/tfhavel/Applications/processing-4.1.2/modes/java/mode/org.eclipse.osgi.jar:/home/tfhavel/Applications/processing-4.1.2/modes/java/mode/org.eclipse.text.jar:/home/tfhavel/Applications/processing-4.1.2/modes/java/mode/org.netbeans.swing.outline.jar  
PATH=/home/tfhavel/Applications/processing-4.1.2/java/bin:/home/tfhavel/.local/bin:/opt/gradle/gradle-5.4/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
