aboutsummaryrefslogtreecommitdiffstats
path: root/netx/net/sourceforge/jnlp/runtime/JNLPRuntime.java
diff options
context:
space:
mode:
authorJiri Vanek <[email protected]>2013-11-05 20:07:27 +0100
committerJiri Vanek <[email protected]>2013-11-05 20:07:27 +0100
commit8f59c1b0bf5fed4fce80ebcc0bc588e62dde706d (patch)
tree96448b23078bd930c2786b76c5d0e168ccd63a73 /netx/net/sourceforge/jnlp/runtime/JNLPRuntime.java
parent7b561bedfe5dec3afe77574ef879b91f942db735 (diff)
Java console resurrected and connected to new logging.
Diffstat (limited to 'netx/net/sourceforge/jnlp/runtime/JNLPRuntime.java')
-rw-r--r--netx/net/sourceforge/jnlp/runtime/JNLPRuntime.java8
1 files changed, 5 insertions, 3 deletions
diff --git a/netx/net/sourceforge/jnlp/runtime/JNLPRuntime.java b/netx/net/sourceforge/jnlp/runtime/JNLPRuntime.java
index a0744a0..3a50f6c 100644
--- a/netx/net/sourceforge/jnlp/runtime/JNLPRuntime.java
+++ b/netx/net/sourceforge/jnlp/runtime/JNLPRuntime.java
@@ -67,8 +67,8 @@ import net.sourceforge.jnlp.security.SecurityDialogMessageHandler;
import net.sourceforge.jnlp.security.VariableX509TrustManager;
import net.sourceforge.jnlp.services.XServiceManagerStub;
import net.sourceforge.jnlp.util.FileUtils;
+import net.sourceforge.jnlp.util.logging.JavaConsole;
import net.sourceforge.jnlp.util.logging.OutputController;
-import net.sourceforge.jnlp.util.TeeOutputStream;
import net.sourceforge.jnlp.util.logging.LogConfig;
import sun.net.www.protocol.jar.URLJarFile;
@@ -162,8 +162,7 @@ public class JNLPRuntime {
/** a lock which is held to indicate that an instance of netx is running */
private static FileLock fileLock;
- public static final String STDERR_FILE = "java.stderr";
- public static final String STDOUT_FILE = "java.stdout";
+
/**
@@ -196,6 +195,9 @@ public class JNLPRuntime {
try {
config.load();
config.copyTo(System.getProperties());
+ if (JavaConsole.canShowOnStartup(isApplication)) {
+ JavaConsole.getConsole().showConsoleLater();
+ }
} catch (ConfigurationException e) {
/* exit if there is a fatal exception loading the configuration */
if (isApplication) {