# Re: can't compile the sample code for JCE1.2

Jan Luehe (Jan.Luehe@Eng)
Wed, 13 May 1998 16:08:26 -0700 (PDT)

- Messages sorted by: [ date ][ thread ][ subject ][ author ]
- Next message: Hemma Prafullchandra: "Re: Java Security Archive: Volume 4 ???"
- Previous message: Yuri Romanenko: "Re: can't compile the sample code for JCE1.2"
- Maybe in reply to: Yuri Romanenko: "can't compile the sample code for JCE1.2"
- Next in thread: Jan Luehe: "Re: can't compile the sample code for JCE1.2"

    Date: Wed, 13 May 1998 16:08:26 -0700 (PDT)

    From: Jan Luehe <Jan.Luehe@Eng>

    Subject: Re: can't compile the sample code for JCE1.2

    To: java-security@web2.javasoft.com, yuri@CS.UCLA.EDU

Yuri:

Are you sure you copied the correct example and have
not modified it yourself?

Line 181 of that example has the following code, which
compiles without any problems:

for (int i=0; i<aliceLen; i++) {
Jan
> Date: Wed, 13 May 1998 15:51:50 -0700 (PDT)
> From: Yuri Romanenko <yuri@CS.UCLA.EDU>
> To: java-security@web2.javasoft.com
> Subject: can't compile the sample code for JCE1.2
> MIME-Version: 1.0
>
> Hi,
>
> I am grad student at UCLA and enrolled in the computer security class.
> We've been trying to evaluate JCE and apparently we can't compile the
> sample code for Diffie-Hellman key exchange listed in
> API_users_guide.html. It complains about the following line:
>
> DHKeyAgreement2.java:181: ';' expected.
> for (int i=0; i> 4);
> ^
> 1 error
>
> Clearly this "for" loop has a problem. Please check it out and let me
> know ASAP. Thanks!!
>
>
> Yuri Romanenko
> yuri@cs.ucla.edu
>
>

- Next message: Hemma Prafullchandra: "Re: Java Security Archive: Volume 4 ???"
- Previous message: Yuri Romanenko: "Re: can't compile the sample code for JCE1.2"
- Maybe in reply to: Yuri Romanenko: "can't compile the sample code for JCE1.2"
- Next in thread: Jan Luehe: "Re: can't compile the sample code for JCE1.2"