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: Algorithm DH not available

843810Feb 20 2002 — edited Feb 22 2002
Hi, I am fairly new to both java and forte. I am using forte 3.0 along with java 1.4.0. When I execute this particular piece of code from the command line it works fine. However, when I try to run it from within forte I get the following error.

java.security.NoSuchAlgorithmException: Algorithm DH not available
at javax.crypto.SunJCE_b.a(DashoA6275)
at javax.crypto.KeyAgreement.getInstance(DashoA6275)
at pnap.net.io.rmi.SecureSocket.doSecretKeyExchange(Unknown Source)
at pnap.net.io.rmi.SecureSocket.getOutputStream(Unknown Source)
at sun.rmi.transport.tcp.TCPConnection.getOutputStream(TCPConnection.java:66)
at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:189)
at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:171)
at sun.rmi.server.UnicastRef.newCall(UnicastRef.java:313)

Do I need to edit my forte java.policy file or rmid.policy file?

Thanks,

Scott
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 22 2002
Added on Feb 20 2002
4 comments
1,226 views