1 Reply Latest reply on Feb 21, 2013 6:02 PM by ytw

    Native Bundle throws java.security.NoSuchAlgorithmException

      I'm trying to build a native bundle, specially for mac os x, but also in windows. And in both environments the .app, .dmg, .exe get generated correctly, but when I run them, I get many java.security.NoSuchAlgorithmException exceptions. For example:
      Caused by: java.security.NoSuchAlgorithmException: SunTlsRsaPremasterSecret KeyGenerator not available

      Caused by: java.security.NoSuchAlgorithmException: PBEWithMD5AndDES SecretKeyFactory not available

      My program uses TLS, to establish xmpp connections. And also I have a webview with HTTPS which is not loading eighter.

      Does anybody have any idea why this could be happening?
      I should note that if I run the generated jar alone, it works fine, it only happens with the .exe and .app.
      This is my build.xml fx:deploy code:

      <fx:deploy width="${javafx.run.width}" height="${javafx.run.height}"
      outdir="${basedir}/${dist.dir}" outfile="${application.title}">
      <fx:application name="${application.title}"
      <fx:fileset dir="${basedir}/${dist.dir}"
      <fx:fileset dir="${basedir}/${dist.dir}" includes="lib/*.jar"/>
      <fx:info title="${application.title}"

      Appreciate your help.

      Edited by: ascuccimarra on Feb 20, 2013 1:36 PM