I have an ant build xml file. Ant is running in jdk1.6. However, when I compile (javac), do a rmic and jar a couple of classes, I would like to do it using jdk1.5.
Can someone please show me how this can be achieved. An example ant target which complies, does a rmic and jar explicitly using a different jdk version would be of great help.
Start Free Trial