Skip to content

Export Application gives java.lang.ClassNotFoundException: --full-screen error #488

Closed
@processing-bot

Description

@processing-bot

Created by: dantepfer

Description

Using Processing 4.0 beta 8, on Intel Mac (MacBook Pro 2019), Montery 12.4, Exported Applications fail with the following error:

java.lang.RuntimeException: java.lang.ClassNotFoundException: --full-screen
	at processing.core.PApplet.runSketch(PApplet.java:10397)
	at processing.core.PApplet.main(PApplet.java:10187)
	at Particles.main(Particles.java:148)
Caused by: java.lang.ClassNotFoundException: --full-screen
	at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:641)
	at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:188)
	at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:520)
	at processing.core.PApplet.runSketch(PApplet.java:10390)

This is true even for sketches that are not running full screen, and occurs whether or not Java is embedded.

Steps to Reproduce

  1. open Particles example
  2. export application
  3. try running exported application, it will silently fail
  4. control-click on exported application, go to contents > MacOS > Particles, open Particles
  5. app will fail with the above error in terminal
  • Processing version: 4.0 beta 8
  • Operating System and OS version: MacOS 12.4
  • Computer: MacBook Pro (16-inch, 2019)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions