Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

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

Closed
processing-bot opened this issue May 20, 2022 · 5 comments

Comments

@processing-bot
Copy link
Collaborator

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)
@processing-bot
Copy link
Collaborator Author

Created by: clankill3r

I tried to reproduce on OSX 10.15.7, but on this OS I can run the exported application. Only the present mode is not working, it's always windowed.

@processing-bot
Copy link
Collaborator Author

Created by: benfry

I'm seeing what @clankill3r is seeing.

@dantepfer you might check whether there's an old version of core.jar somewhere in your path.

@sampottinger it looks like this has been broken since alpha 1, which suggests there might be a regression in the preprocessor, because it's no longer inserting the lines into the source during the build to properly run things in “present” mode.

@processing-bot
Copy link
Collaborator Author

Created by: sampottinger

I’ll take a look!

Thanks,
Sam

On Jun 19, 2022, at 11:08 AM, Ben Fry @.***> wrote:


I'm seeing what @clankill3r is seeing.

@dantepfer you might check whether there's an old version of core.jar somewhere in your path.

@sampottinger it looks like this has been broken since alpha 1, which suggests there might be a regression in the preprocessor, because it's no longer inserting the lines into the source during the build to properly run things in “present” mode.


Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.

@processing-bot
Copy link
Collaborator Author

Created by: benfry

Awesome thank you Sam.

@processing-bot
Copy link
Collaborator Author

Created by: github-actions[bot]

This issue has been automatically locked. To avoid confusion with reports that have already been resolved, closed issues are automatically locked 30 days after the last comment. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 17, 2024
# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant