How can I run a jnlp application with console?

14,925

You can try to set deployment.console.startup.mode to SHOW to see java console. Either via deployment file (more info: Deployment Configuration File and Properties) or command line parameter:

javaws -J-Ddeployment.console.startup.mode=SHOW <JNLP url>

Note that, in both cases, it will only work if the JNLP author has not locked the property via deployment.console.startup.mode.locked.

If it doesn't help just try to run some Hello World Application with Web Start and connect to it with jConsole. Then you can find somewhere a path to the whole javaws command.

Share:
14,925
Horcrux7
Author by

Horcrux7

nothing

Updated on June 26, 2022

Comments

  • Horcrux7
    Horcrux7 almost 2 years

    I have a jnlp application that terminate on some systems. I think it is an exception which terminate my application directly. That I want start it with a console window.

    Is there an replacement for javaws xyz.jnlp with a java command?