Java Web Start NumberFormatException while running Jar application

后端 未结 2 1951
花落未央
花落未央 2021-01-03 05:18

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

2条回答
  •  时光取名叫无心
    2021-01-03 06:16

    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.

提交回复
热议问题