While trying to run Jar application using JWS (JNLP) launch. It has been giving me this error. Can\'t even find where is the mistake. Any directions would help.
If s
Posting this here in case someone has that very same error, even with java 8 Update 101:
In our specific case, after a few hours of digging, the problem ended up being that NetBeans version 7.4 was putting some useless junk on the Codebase
property of the jar's MANIFEST.MF
; by going into the project properties, Application -> Web Start
and then changing Codebase
to User defined
and Codebase Preview
to *
, the application started working correctly.
Please do keep in mind that we're using an applet instead of a JNLP application, so your mileage may vary.
Looks like a known issue... See Bug #236765
Upgrading your Java version as specified in the bug.
Not a NB issue, javaws problem. I've tested https://netbeans.org/kb/73/java/javase-jws.html with JDK 1.7.0_45 and works fine.Please update JDK JRE.