[Red5devs] Issue with bouncycastle and jdk 1.5

Mondain mondain at gmail.com
Sat Jul 12 12:35:26 PDT 2008


There is a separate jar for 1.5, I setup ivy to use it based on
version but I didn't test with jdk 1.5.


On 7/12/08, Thijs Triemstra | Collab <lists at collab.nl> wrote:
> When I try to compile the server (r2885) I'm getting the following
> error with Mac OSX 10.5.4 and JDK 1.5:
>
> [ivy:retrieve] 	15 artifacts copied, 59 already retrieved (5754kB/261ms)
>      [javac] Compiling 489 source files to /red5/bin
>      [javac] /red5/src/org/red5/server/net/rtmp/RTMPHandshake.java:12:
> cannot access org.bouncycastle.jce.provider.BouncyCastleProvider
>      [javac] bad class file: /red5/lib/bcprov-jdk16-139.jar(org/
> bouncycastle/jce/provider/BouncyCastleProvider.class)
>      [javac] class file has wrong version 50.0, should be 49.0
>      [javac] Please remove or make sure it appears in the correct
> subdirectory of the classpath.
>      [javac] import org.bouncycastle.jce.provider.BouncyCastleProvider;
>      [javac]                                      ^
>      [javac] Note: Some input files use or override a deprecated API.
>      [javac] Note: Recompile with -Xlint:deprecation for details.
>      [javac] 1 error
>
> BUILD FAILED
> /red5/build.xml:234: The following error occurred while executing this
> line:
> /red5/build.xml:267: Compile failed; see the compiler error output for
> details.
>


-- 
http://gregoire.org/
http://osflash.org/red5



More information about the Red5devs mailing list