You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am on archlinux, and I have problem launching kvm_x9.py script. It contains this line: subprocess.call(['javaws', '-J-Djava.security.properties=java.security', '-wait', 'viewer.jnlp'])
and I got the following error in terminal: netx: Invalid argument: net.sourceforge.jnlp.util.optionparser.InvalidArgumentException: [-wait, viewer.jnlp]
But when I remove that "-wait" argument, and run it as: subprocess.call(['javaws', '-J-Djava.security.properties=java.security', 'viewer.jnlp'])
then kvm launches normally.
What was the purpose of adding it? I guess, that you wanted to keep jnlp file while application is running? Seems like it is not needed.
I googled that option and found a man page that says "-wait: If specified, the javaws process will not exit until the application exits. This option does not function as described on Windows platforms." But that page seems to apply for javaws 1.5.0. In archlinux i have installed icedtea-web 1.8.3, and it has no such option (I looked in man and in --help).
So, "-wait" parameter probably should be just removed.
The text was updated successfully, but these errors were encountered:
Hmmm. I needed the -wait option on a predecessor script of this tool.
Without -wait the script would start the cleanup process deleting the downloaded files before the java tool was correctly started...
I'll need to have a look what's going on here. Thank you for the report though.
Hi, @ixs, thank you for this project!
I am on archlinux, and I have problem launching kvm_x9.py script. It contains this line:
subprocess.call(['javaws', '-J-Djava.security.properties=java.security', '-wait', 'viewer.jnlp'])
and I got the following error in terminal:
netx: Invalid argument: net.sourceforge.jnlp.util.optionparser.InvalidArgumentException: [-wait, viewer.jnlp]
But when I remove that "-wait" argument, and run it as:
subprocess.call(['javaws', '-J-Djava.security.properties=java.security', 'viewer.jnlp'])
then kvm launches normally.
What was the purpose of adding it? I guess, that you wanted to keep jnlp file while application is running? Seems like it is not needed.
I googled that option and found a man page that says "-wait: If specified, the javaws process will not exit until the application exits. This option does not function as described on Windows platforms." But that page seems to apply for javaws 1.5.0. In archlinux i have installed icedtea-web 1.8.3, and it has no such option (I looked in man and in --help).
So, "-wait" parameter probably should be just removed.
The text was updated successfully, but these errors were encountered: