From 7d926532cd60177d5c43f0f6c77ffcafe50b9158 Mon Sep 17 00:00:00 2001 From: Ben Fry Date: Wed, 23 Jun 2021 07:09:12 -0400 Subject: [PATCH] fix the warning about missing core.jar (resolves #154) --- app/src/processing/app/Base.java | 5 ++++- todo.txt | 3 +++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/app/src/processing/app/Base.java b/app/src/processing/app/Base.java index 80cb3f9aa..6d10bd51c 100644 --- a/app/src/processing/app/Base.java +++ b/app/src/processing/app/Base.java @@ -120,7 +120,10 @@ public class Base { String missing = null; if (mess.contains("Could not initialize class com.sun.jna.Native")) { missing = "jnidispatch.dll"; - } else if (mess.contains("NoClassDefFoundError: processing/core/PApplet")) { + } else if (t instanceof NoClassDefFoundError && + mess.contains("processing/core/PApplet")) { + // Had to change how this was called + // https://github.com/processing/processing4/issues/154 missing = "core.jar"; } if (missing != null) { diff --git a/todo.txt b/todo.txt index 8bcb90c97..a9ffbbb1c 100755 --- a/todo.txt +++ b/todo.txt @@ -46,6 +46,8 @@ X But changing this for 4.0 alpha 5, because the JFileChooser is awful, X and even worse on Big Sur, and worse than the Copy/Paste issue. X "Could not run" "For more information, read revisions.txt and Help → Troubleshooting." X need to drop revisions.txt here and just reference Troubleshooting +X NoClassDefError: processing/core/PApplet when starting 4.0a2 on Windows 10 +X https://github.com/processing/processing4/issues/154 javafx X move JavaFX to its own library, too many weird quirks that it includes @@ -88,6 +90,7 @@ _ automatically import JavaFX if FX2D is in sketch? or tell user? _ Code completion not working _ https://github.com/processing/processing4/issues/177 _ confirmed not working from Sam's repo either +_ change application signature from Pde3 to Pde4 (and package name as well) _ fix height of font size dropdown _ You need to use "Import Library" to add processing.javafx.PGraphicsJavaFX