The problem you experience is related to some classloader
related changes between JDK1.2beta3 and JDK1.2beta4.
You need to install JCE 1.2 Beta from
http://developer.javasoft.com/developer/earlyAccess/jdk12/jce.html
Thanks,
Jan
> Date: Wed, 9 Sep 1998 15:54:31 -0700 (PDT)
> From: Amitabh <baysanta@yahoo.com>
> Subject: JDK1.2beta4 vs. JDK1.2beta3
> To: java-security@java.sun.com
> MIME-Version: 1.0
>
> Hi,
>
> I have a server program that runs fine in JDK1.2beta3 but not in
> JDK1.2beta4.
>
> eg.
> SUN1% /export/home/jdk1.2beta3/bin/java SkipServer 7999
> Listening on port 7999...
>
> --------works fine------------------------
> SUN1% /export/home/jdk1.2beta4/bin/java SkipServer 7999
> Exception in thread "main" java.security.NoSuchAlgorithmException:
> algorithm DH not available.
> at java.security.Security.getEngineClassName(Compiled Code)
> at java.security.Security.getEngineClassName(Compiled Code)
> at java.security.Security.getImpl(Compiled Code)
> at java.security.KeyPairGenerator.getInstance(Compiled Code)
> at SkipServer.main(Compiled Code)
>
> ----------------------doesn't work-----------------------------
> Can u tell me why?
> What changes can be made.
>
> Thanx.
> Andy
>
>
>
>
> ==
> ************************************************************
>
> Anything worth doing is worth doing well.....
>
> God helps those who help themselves..........
> *************************************************************
>
> _________________________________________________________
> DO YOU YAHOO!?
> Get your free @yahoo.com address at http://mail.yahoo.com
>