Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8111749

javafxc cannot find sun.security.jca.GetInstance (in jse rt.jar)

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Won't Fix
    • Affects Version/s: fx2.0
    • Fix Version/s: None
    • Component/s: javafx
    • Labels:
    • Environment:

      win7, x86, jdk 1.6.0_21, jfx 1.3.0_b412, netbeans 6.9.1

      Description

      Attempting to work with JSSE in JavaFX on NetBeans. When trying to compile the attached file (Server.fx), Netbeans reports this error:

      Note: An internal error has occurred in the OpenJFX compiler. Please file a bug at the
      Openjfx-compiler issues home (https://openjfx-compiler.dev.java.net/Issues)
      after checking for duplicates. Include in your report:
      - the following diagnostics
      - file {APPDATA_TEMP_DIR}\javafx_err_1777629855159446304.txt
      - and if possible, the source file which triggered this problem.
      Thank you.
      {FX_PROJ_LOC}\ssltest\Server.fx:14: cannot access sun.security.jca.GetInstance
      class file for sun.security.jca.GetInstance not found
          def keyPairGen = KeyPairGenerator.getInstance("RSA");
      1 error
      ERROR: javafxc execution failed, exit code: 1

      Two things: 1) https://openjfx-compiler.dev.java.net/Issues is no longer a valid URL. http://www.oracle.com/technetwork/java/javafx/training/index.html directed me here, so I hope this is the place. If not, please direct me with apologies. 2) I have no idea what "code name" version this affects. I picked Presidio but the nonsensical real JavaFX version is stated in Environment.

      Also attached, as per requested, is the offending JavaFX-to-Java translated file.

      It goes without saying (..) that the rt.jar (where this public class resides) is by default on my classpath.

        Attachments

          Activity

            People

            Assignee:
            bcbeck Brian Beck (Inactive)
            Reporter:
            duke J. Duke (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Imported: