From 98f00b9fd171a331e07939d2ffd97c17d308546a Mon Sep 17 00:00:00 2001 From: Ben Fry Date: Thu, 6 Aug 2015 14:40:14 -0400 Subject: [PATCH] try that again --- app/src/processing/app/ui/Toolkit.java | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/app/src/processing/app/ui/Toolkit.java b/app/src/processing/app/ui/Toolkit.java index dafd1d5c9..2b0643725 100644 --- a/app/src/processing/app/ui/Toolkit.java +++ b/app/src/processing/app/ui/Toolkit.java @@ -904,10 +904,13 @@ public class Toolkit { } if (!fontFile.exists()) { String msg = "Could not find required fonts. "; - if (hasNonAsciiChars(System.getProperty("java.home"))) { + // This gets the JAVA_HOME for the *local* copy of the JRE installed with + // Processing. If it's not using the local JRE, it may be because of this + // launch4j bug: https://github.com/processing/processing/issues/3543 + if (hasNonAsciiChars(Base.getJavaHome().getAbsolutePath())) { msg += "Trying moving Processing to a location with only ASCII characters in the path."; } else { - msg += "Please reinstall Processing from the original location."; + msg += "Please reinstall Processing."; } Base.showError("Font Sadness", msg, null); }