You can use the syntactical sugar of Java 5 (generics, foreach loop,
etc) in your source code
and generate 1.4 bytecode using the jsr14 target:
javac -target jsr14 Java5Style.java
You just need to be sure that you are not relying on java 5 or Java
6 API
(StringBuilder, Scanner, Iterable, etc).
Daniel
Le 27 févr. 08 à 21:28, Moises Lejter a écrit :
You could try this:
http://retroweaver.sourceforge.net/
(I only know of it...)
Moises
On Wed, Feb 27, 2008 at 11:13 AM, Geoffrey Rekier <email@hidden
> wrote:
We are facing a problem. We want to use a couple of libraries that
are
Java 5. It is working fine on OSX 10.4 and higher but not at all for
lower. I guess someone faced this problem before so I ask. Is there
anyone knowing a workaround to be able to run this on older Mac? A
way
to get Java 5 on older Mac or a possibility to convert the
libraries?