java.io.FileNotFoundException

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • neeru
    New Member
    • Mar 2013
    • 17

    java.io.FileNotFoundException

    C:\>javac ExportCertifica te.java
    ExportCertifica te.java:45: warning: BASE64Encoder is internal proprietary API an
    d may be removed in a future release
    wr.write(new sun.misc.BASE64 Encoder().encod e(buf));
    ^
    1 warning

    C:\>java ExportCertifica te
    java.io.FileNot FoundException: Certificate.cer t (The system cannot find the file
    specified)
    at java.io.FileInp utStream.open(N ative Method)
    at java.io.FileInp utStream.<init> (Unknown Source)
    at ExportCertifica te.<init>(Expor tCertificate.ja va:14)
    at ExportCertifica te.main(ExportC ertificate.java :59)
    Attached Files
  • r035198x
    MVP
    • Sep 2006
    • 13225

    #2
    A file is not being found. Print out the full path that is being used in the program and verify that the file does exist on disk.

    Comment

    Working...