Skip to Main Content

Java Security

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

java.security.NoSuchAlgorithmException

843811Mar 26 2005 — edited Jun 13 2005
Caused by: java.security.NoSuchAlgorithmException: Cannot find any provider supporting RC4
at javax.crypto.Cipher.getInstance(DashoA12275)
at com.sun.net.ssl.internal.ssl.JsseJce.getCipher(JsseJce.java:90)
at com.sun.net.ssl.internal.ssl.CipherBox.<init>(CipherBox.java:84)
at com.sun.net.ssl.internal.ssl.CipherBox.newCipherBox(CipherBox.java:118)
at com.sun.net.ssl.internal.ssl.CipherSuite$BulkCipher.newCipher(CipherSuite.java:443)
at com.sun.net.ssl.internal.ssl.Handshaker.newReadCipher(Handshaker.java:335)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.changeReadCiphers(SSLSocketImpl.java:1616)

I have the above mention exception when running jdk 1.5.0_02. I have the same code on 1.4 and it runs without any problems. Exception suggests that it cannot find RSA RC4 Provider but I am confused as to why as I think everything is setup properly. More so, if I simply grab and copy jsse.jar that I have on 1.4 and put it in 1.5 things work as well. As if jsse.jar for 1.5 is missing things particular to RSA RC4. 1.5 docs suggest that this is supported by 1.5 so I am just confused as to what I need to do to get it running. Has anyone bumped into same problems?
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 11 2005
Added on Mar 26 2005
2 comments
1,042 views