IcedTea-Web icon indicating copy to clipboard operation
IcedTea-Web copied to clipboard

Trying to Create JNLP

Open mbartosh opened this issue 3 years ago • 1 comments

I am trying to create a .jnlp for an old web application called UPSLT. It only runs on IE. I have uploaded UPSLTtest-ric.jnlp as a .txt file. I am using the command-line javaws.exe -jnlp upsltest-ric.jnlp.

Fatal: Read Error: Could not read or parse the JNLP file at 'file:/C:/Program%20Files%20(x86)/OpenWebStart/upslttest-ric.jnlp'.

UPSLTtest-Ric.txt e

mbartosh avatar Jan 24 '22 18:01 mbartosh

What pokes my eye is that the main class actually is the name of a jar. What should really be in the main-class attribute is the fully qualified name of the class containing the main method. For example com.foo.some.package.ClassWithMainMethod

If this is not the cause then please post a full log. Otherwise it is just a guessing game.

sclassen avatar Jan 25 '22 22:01 sclassen