From 3921be849ba08b3d4753a63857f896aebdd39094 Mon Sep 17 00:00:00 2001 From: vito Date: Tue, 19 Apr 2016 09:30:33 +0800 Subject: [PATCH] =?UTF-8?q?jdk1.8=E6=89=93=E5=BC=80=E6=96=B0=E6=8F=92?= =?UTF-8?q?=E4=BB=B6=E7=AE=A1=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- designer_base/src/com/fr/design/extra/PluginManagerPane.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/designer_base/src/com/fr/design/extra/PluginManagerPane.java b/designer_base/src/com/fr/design/extra/PluginManagerPane.java index f1209a6ea..bd4e50ec4 100644 --- a/designer_base/src/com/fr/design/extra/PluginManagerPane.java +++ b/designer_base/src/com/fr/design/extra/PluginManagerPane.java @@ -24,7 +24,8 @@ public class PluginManagerPane extends BasicPane { public PluginManagerPane() { setLayout(new BorderLayout()); - if (StableUtils.isDebug()) { + if (System.getProperty("java.version").startsWith("1.8")) { + System.out.println(System.getProperty("java.version")); URL url = ClassLoader.getSystemResource(""); String installHome = url.getPath(); PluginWebPane webPane = new PluginWebPane(installHome);