Skip to content

Commit 7d92653

Browse files
committed
fix the warning about missing core.jar (resolves #154)
1 parent a914e10 commit 7d92653

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

app/src/processing/app/Base.java

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,10 @@ static public void main(final String[] args) {
120120
String missing = null;
121121
if (mess.contains("Could not initialize class com.sun.jna.Native")) {
122122
missing = "jnidispatch.dll";
123-
} else if (mess.contains("NoClassDefFoundError: processing/core/PApplet")) {
123+
} else if (t instanceof NoClassDefFoundError &&
124+
mess.contains("processing/core/PApplet")) {
125+
// Had to change how this was called
126+
// https://github.com/processing/processing4/issues/154
124127
missing = "core.jar";
125128
}
126129
if (missing != null) {

todo.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,8 @@ X But changing this for 4.0 alpha 5, because the JFileChooser is awful,
4646
X and even worse on Big Sur, and worse than the Copy/Paste issue.
4747
X "Could not run" "For more information, read revisions.txt and Help → Troubleshooting."
4848
X need to drop revisions.txt here and just reference Troubleshooting
49+
X NoClassDefError: processing/core/PApplet when starting 4.0a2 on Windows 10
50+
X https://github.com/processing/processing4/issues/154
4951

5052
javafx
5153
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?
8890
_ Code completion not working
8991
_ https://github.com/processing/processing4/issues/177
9092
_ confirmed not working from Sam's repo either
93+
_ change application signature from Pde3 to Pde4 (and package name as well)
9194

9295
_ fix height of font size dropdown
9396
_ You need to use "Import Library" to add processing.javafx.PGraphicsJavaFX

0 commit comments

Comments
 (0)