JDK 1.5 Compiled Applet not working with JRE 1.4

Hi

If I compile my applet using JDK1.5 then this applet do not get loaded on a system using JRE1.4 however it works fine with systems having JRE 1.5. Isn't JDK 1.5 backward compatible.

I am using following command to compile applet code in ANT script

<javac srcdir="../../JavaSource" destdir="classes" source="1.5" target="1.4">

Can anyone please help.

[491 byte] By [ARafiquea] at [2007-10-2 16:37:50]
# 1

Could be caused by the following:

1. applet is cached so after changing the class files on the server the client uses

a cached class file that wasn't compiled with target=1.4

2. Applet uses 1.5 specific classes (genrerics) or methods of classes new

to 1.5.

3. Something else.

What is the exception you get when loading the applet in 1.4 (major minor version)...

A Full trace might help us out:

http://forum.java.sun.com/thread.jspa?threadID=656028

harmmeijera at 2007-7-13 17:45:11 > top of Java-index,Security,Signed Applets...