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)
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)
Comment