Advertisement

07.04.2008 at 08:30AM PDT, ID: 23539619
[x]
Attachment Details

Compile using jdk1.5 - Ant running in jdk 1.6

Asked by ctoan in Java Programming Language

Tags: Java, Ant

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
[+][-]07.04.2008 at 08:38AM PDT, ID: 21933643

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 7-day free trial to view this Assisted Solution or ask the Experts your question.

 
[+][-]07.04.2008 at 04:34PM PDT, ID: 21935249

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 7-day free trial to view this Assisted Solution or ask the Experts your question.

 
[+][-]07.05.2008 at 05:08AM PDT, ID: 21936729

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zone: Java Programming Language
Tags: Java, Ant
Sign Up Now!
Solution Provided By: mbodewes
Participating Experts: 3
Solution Grade: A
 
 
[+][-]07.07.2008 at 03:48PM PDT, ID: 21949273

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628