RSS Feed for This PostCurrent Article

Retroweaver: Use Java 1.5 Features and Run in JDK 1.4

This solved one dilemma that I faced. I like JDK 1.5 features but some of my old Java applications are dependant on some proprietary libraries which can only run on JDK 1.4.

Retroweaver is a bytecode weaver that enables you to take advantage of the new Java 1.5 language features, while still retaining total binary compatability with 1.4 virtual machines. Retroweaver operates by transforming Java class files compiled by a 1.5 compiler into version 1.4 class files which can then be run on any 1.4 virtual machine.

As quoted from the website, Retroweaver supports most 1.5 features while running on 1.4.

  • generics
  • extended for loops
  • static imports
  • autoboxing/unboxing
  • varargs
  • enumerations
  • annotations

Retrotranslator is another tool that you can use for this.


Trackback URL


RSS Feed for This Post1 Comment(s)

  1. admin | Jun 27, 2008 | Reply

    Retrotranslator is another tool that you can for this.

Sorry, comments for this entry are closed at this time.