Run JavaWS with JNLP File in Verbose Mode

Q

How to run JavaWS command with JNLP file in verbose mode? I want to see more details on how JavaWS command works.

✍: FYIcenter

A

If you want to see more details on JavaWS command works, you can run JavaWS command in verbose mode as shown below:

fyicenter> javaws -verbose dynamictree.jnlp

You see a message window showing with the following detailed information:

Launching: \fyicenter\jre-1.8.0\bin\javaw.exe

\fyicenter\jre-1.8.0\bin\javaw.exe
   -classpath \fyicenter\jre-1.8.0\lib\deploy.jar
   -Djava.security.policy=file:\fyicenter\jre-1.8.0\lib\security\javaws.policy
   -DtrustProxy=true 
   -Xverify:remote 
   -Djnlpx.home=\fyicenter\jre-1.8.0\bin
   -Djavax.security.Manager 
   -Djnlpx.origFilenameArg=dynamictree.jnlp
   -Djnlpx.remove=true
   -Dsun.awt.warmup=true
   -Xbootclasspath/a:\fyicenter\jre-1.8.0\lib\javaws.jar;\fyicenter\jre-1.8.0\lib\deploy.jar;
      \fyicenter\jre-1.8.0\lib\plugin.jar
   -Djnlpx.splashport=55152
   -Djnlpx.jvm=\fyicenter\jre-1.8.0\bin\javaw.exe
   com.sun.javaws.Main

The above information tells you that JavaWS command is running the \fyicenter\jre-1.8.0\bin\javaw.exe program with a long list of options.

2. Click OK to close the message window. You see a new window the demo application showing a tree of nodes.

 

"javaws -viewer" - View Cached Java Applications

DynamicTreeDemo.jar - JavaWS and JNLP Demo

Introduction of JavaWS and JNLP

⇑⇑ FAQ for JavaWS (Java Web Start)

2018-01-06, 2014🔥, 0💬