diff options
Diffstat (limited to 'netx/net/sourceforge/jnlp/config/DeploymentConfiguration.java')
-rw-r--r-- | netx/net/sourceforge/jnlp/config/DeploymentConfiguration.java | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/netx/net/sourceforge/jnlp/config/DeploymentConfiguration.java b/netx/net/sourceforge/jnlp/config/DeploymentConfiguration.java index 61061d2..e4d1040 100644 --- a/netx/net/sourceforge/jnlp/config/DeploymentConfiguration.java +++ b/netx/net/sourceforge/jnlp/config/DeploymentConfiguration.java @@ -427,7 +427,9 @@ public final class DeploymentConfiguration { jrePath = jreSetting.getValue(); } } catch (Exception ex) { - ex.printStackTrace(); + if (JNLPRuntime.isDebug()){ + ex.printStackTrace(); + } } File jreFile; @@ -530,6 +532,9 @@ public final class DeploymentConfiguration { try { return parsePropertiesFile(file); } catch (IOException e) { + if (JNLPRuntime.isDebug()){ + e.printStackTrace(); + } return null; } } |