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

Error while complie: package sun.security.pkcs10 doesn't exit

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not an Issue
    • Icon: P3 P3
    • 8
    • 7
    • security-libs
    • None

      While complile a java class with jdk 8, see this error:
      CertAndKeyGenTest.java:17: error: package sun.security.pkcs10 does not exist

      Checked the rt.jar in jdk 8. There is PKCS10.java under sun.security.pkcs10 package.

      Then if complie with: cp "/net/koori/onestop/jdk/8/nightly/binaries/solaris-sparc/latest/jre/lib/rt.jar"
      The compilation will pass.

            Unassigned Unassigned
            yulixu Vivian Xu (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: