Re: [JSch-J2ME] Problem running on MIPS using esmertec's Jeode J2ME CDC Personal Profile
Status: Alpha
Brought to you by:
ymnk
From: <ym...@jc...> - 2005-01-18 15:51:30
|
Hi, +-From: "Michael Comeau" <mi...@br...> -- |_Date: Tue, 18 Jan 2005 10:27:16 -0500 ____________ | |When I remove the SUN JCE components, so that only the JSCH J2ME |jar and the BouncyCastle zip files are in the CLASSPATH the |following error occurs. |java.security.NoSuchAlgorithmException: DH KeyPairGenerator not available |Exception in thread "Thread-0", java.lang.NoClassDefFoundError: |javax/crypto/spec/DHParameterSpec | at com.jcraft.jsch.jce.DH.getE (bytecode 7) ... | at com.jcraft.jcterm.JCTermJ2MECDC.run (bytecode 291) | at java.lang.Thread.run (line 10) It seems wrong jar has been included in CLASSPATH. http://j2me.jsch.org/jsch-0.1.17-j2mecdc-32.zip has not included 'com.jcraft.jsch.jce' package and it should refer to 'com.jcraft.jsch.bc' package. May I ask you to add http://j2me.jsch.org/jsch-0.1.17-j2mecdc-32.jar ? |Do I need to make an entry in the java.security file for the |BouncyCastle provider? It will only use BC's lightweight API, so you don't have to modify java.security file. Thanks, -- ymnk |