wood burning stoves 2.0*
The moose likes IDEs, Version Control and other tools and the fly likes Make ant use 1.4 version of java! Tried by setting java home to 1.4 but in vain Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "Make ant use 1.4 version of java! Tried by setting java home to 1.4 but in vain" Watch "Make ant use 1.4 version of java! Tried by setting java home to 1.4 but in vain" New topic
Author

Make ant use 1.4 version of java! Tried by setting java home to 1.4 but in vain

akash kumar
Ranch Hand

Joined: Jun 13, 2007
Posts: 63
Hi !

I am using Eclipse 3.3 europa. Building my project using ant. I'm not able to make ant use the java 1.4 even after setting the javahome to 1.4. what can I do?
Jeanne Boyarsky
internet detective
Marshal

Joined: May 26, 2003
Posts: 30123
    
150

Akash,
Do you want Ant itself to use Java 1.4 or the the <javac> command within Ant to use Java 1.4? The solution is different which is why I am asking for clarification.


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Make ant use 1.4 version of java! Tried by setting java home to 1.4 but in vain
 
Similar Threads
Ant error on trying to run an taskdef
UnsupportedClassVersion
Maven or Ant?
deploy compiled servlets w/ only J2SE 1.4?
Using Ant from within Eclipse 3.x