Java Web Start NumberFormatException while running Jar application

后端 未结 2 1876
花落未央
花落未央 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.

    0 讨论(0)
  • 2021-01-03 06:16

    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.

    0 讨论(0)
提交回复
热议问题