Processing 4.4.4 in Eclipse IDE 2025-06 (4.36.0) can't find PApplet

Hi there,

i am trying to get Processing 4.4.4 to run in Eclipse IDE 2025-06 (4.36.0). I have installed both programs and also installed the JDK 24 for Windows.

  • I have choosen the JDK 24 at windows → preferences → java .-> installed JREs inside Eclipse

  • Then i have added the core-4.4.4.jar library to the Project Java Build path

When i am trying t o Build a Test Applet i can choose the processing.core.PApplet as superclass.
But in the IDE PApplet Class seems to be not found by Eclipse:

So I hope someone could help me to solve this problem!

I just tried this on a Windows 11 system and my file system looks a little different than what you are using:


I started off with a File/New/JavaProject. I don’t think that module-info should be in there; I had to make several tries to get it to work.

1 Like

Hi @cvconnector and welcome to the forum!

One more thing to note: if you’re open to using a build system like Maven or Gradle, you can skip downloading the .jar manually. Processing is available via Maven Central.

1 Like

ok. I have removed the module-info… Seems to work now. Thanks!

1 Like

Thanks! Have not used Maven or Gradle as yet. Is there any Tutorial how to setup Maven or Gradle for Processing in Eclipse?

Not yet! But here’s how I got it to work. Please note that I’m not a regular Eclipse user so I might have missed some steps when writing this down.

  1. Create a new Gradle project FileNewOther... then under Gradle select Gradle Project. Give it a name like my-project-name for example.

  2. Go to FileOpen Projects from File System... then under Import source: click Directory and navigate to your project folder then click Finish.

  3. Create a src/main/java/sketch/MainSketch.java file and write/paste your code

  4. In your project, create two files: settings.gradle.kts and build.gradle.kts (see below)

  5. Right click your project and click GradleRefresh Gradle Project

  6. Right click src and got to SourceSelect as source folder

  7. Click the run button

Files

settings.gradle.kts

rootProject.name = "my-project-name"

build.gradle.kts

plugins {
    application
    java
}

repositories {
    mavenCentral()
    maven {
        url = uri("https://jogamp.org/deployment/maven/")
    }
}

dependencies {
    implementation("org.processing:core:4.4.4")
}

application {
    mainClass.set("sketch.MainSketch")
}
2 Likes