JDK and JVM version compatibility

Hello,Could you please let me know, what would be the implications, if I develop my applications using JDK1.5 and have the JVM as lower version i.e. 1.4.2. Is it advisable to use the lower version of JVM ?
[219 byte] By [tijo_mariama] at [2007-10-3 8:29:56]
# 1
Use Retroweaver, which will re-write the code developed on JDK 1.5 for binary compatibility with JVM 1.4: http://retroweaver.sourceforge.net/
alastaira at 2007-7-15 3:36:53 > top of Java-index,Java Essentials,Java Programming...
# 2
Because of our App Server compatibility issue, we are planning to develop our applications using JDK 1.5 and use JVM version 1.4 ? What are the issues we would anticipate with this approach ?
tijo_mariama at 2007-7-15 3:36:53 > top of Java-index,Java Essentials,Java Programming...
# 3

You won't be able to run the JDK 1.5 compiled code in JVM 1.4; the JVM will throw an error if you try. The way to do it is to use Retroweaver or a similar backwards-compatibility tool. Retroweaver works by replacing any calls to the Java API that are specific to 1.5 with their 1.4 equivalents, then compiling with JDK 1.4. Personally I haven't come across any issues using it, but you can check for potential pitfalls on their Sourceforge site.

alastaira at 2007-7-15 3:36:53 > top of Java-index,Java Essentials,Java Programming...