Discussion Locked

does ANT1.6.2 support SUN JDK1.5?

0 helpful
1 reply
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

I used Ant1.6.2 and it said that:"
[javac] C:\HibTest\firstHib\src\Test.java:6: cannot access java.lang.Object
[javac] bad class file: C:\Program Files\Java\jdk1.5.0_01\jre\lib\rt.jar(jav
a/lang/Object.class)
[javac] class file has wrong version 49.0, should be 47.0"
How can it be? Help me!

1 reply

by ysilent

I can use Ant in JBuilder or Eclipse with JDK1.4
but I cannot use the Ant download from ant.apache.org with JDK which version beyond 1.3,Why?

This discussion is closed to new replies.