Need help with processing4?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

190 Stars 34 Forks Other 13.6K Commits 52 Opened issues


Processing 4.x releases (currently in “alpha”) that use Java 11

Services available


Need anything else?

Contributors list

Processing 4.0

Processing 4 makes important updates to the code to prepare the platform for its future. Most significantly, this includes the move to JDK 11 and support for new Java language features. The changes should be transparent to most users, but because of the massive shift behind the scenes, this will be 4.0.


We don't have a schedule for a final release. This work is being done by a tiny number of volunteers working in their personal free time.

  • We're currently using JDK 11, which is a “Long Term Support” (LTS) release. Java 17 is the next LTS, and we'll switch to that when it arrives in September 2021.

API Changes

As with all releases, we'll do everything possible to avoid breaking API. However, there will still be tweaks that have to be made. We'll try to keep them minor. Our goal is stability, and keeping everyone's code running.

alpha 2

  • See
    if you're using
    with this release on macOS and with P2D or P3D renderers.
  • The
    versions of
    , and
    have been removed. These were not documented, hopefully were not in use anywhere.
  • The
    object has been removed from
    . We've been warning folks to use
    since 2015, but we still should warn users
  • PImage.checkAlpha()
    is now
    instead of
  • All AWT calls have been moved out of
    , which may be a problem for anything that was relying on those internals
    • For instance,
      new PImage(java.awt.Image)
      is no longer available. It was an undocumented method that was
      only because it was required by subclasses.
  • Removed
    . These had been deprecated, not clear they were used anywhere.

alpha 1

  • Base.defaultFileMenu
    is now
    instead of
    static public

Other Changes

alpha 2

  • The minimum system version for macOS (for the PDE and exported applications) is now set to 10.13.6 (the last update of High Sierra). Apple will likely be dropping support for High Sierra in late 2020, so we may make the minimum 10.14.x by the time 4.x ships.

alpha 1

  • Processing 4 will be 64-bit only. This is the overwhelming majority of users, and we don't have the necessary help to maintain and support 32-bit systems.

Translation Updates

  • export.embed_java.for
    changed to
    which also embeds a string for the platform for better localization support.

Building the Code

We'll eventually create a new wiki page with the build instructions, but for the time being, the instructions are:

  1. Download and install JDK 11 from
  2. Make sure
    is installed for your platform.
  3. Open a Terminal window/Command Prompt/whatever and type:

    cd /path/to/processing4/build
    ant run

Java version complaints

You might have multiple versions of Java installed. Type

java -version
and if it says something other than 11, you'll need to set the
environment variable.

On macOS, you can use:

export JAVA_HOME="`/usr/libexec/java_home -v 11`"

If you need to go back to Java 8 (i.e. to build Processing 3), you can use:

export JAVA_HOME="`/usr/libexec/java_home -v 1.8`"

On Windows and Linux, you can set

to point at the installation the way you would any other environment variable.

And again, we'll have more complete instructions later once the dust settles.


If you're using Eclipse, it'll complain about the lack of

. Steps to create your own:
    git clone --recurse-submodules git:// jogl
    cd jogl
    git checkout 0779f229b0e9538c640b18b9a4e095af1f5a35b3
    zip -r ../jogl-all-src.jar src

Then copy that

file to sit next to the
folder inside

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.