ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dan Checkoway <dchecko...@gmail.com>
Subject Java 7 incompatibility?
Date Tue, 10 Jan 2012 15:12:31 GMT
With Java 6 all is well...

$ java -version
java version "1.6.0_26"
Java(TM) SE Runtime Environment (build 1.6.0_26-b03)
Java HotSpot(TM) 64-Bit Server VM (build 20.1-b02, mixed mode)

$ ant -version
Apache Ant version 1.6.5 compiled on January 6 2007

...but once I upgrade to Java 7:

$ java -version
java version "1.7.0_02"
Java(TM) SE Runtime Environment (build 1.7.0_02-b13)
Java HotSpot(TM) 64-Bit Server VM (build 22.0-b10, mixed mode)

$ ant -version
Error: Could not find or load main class
org.apache.tools.ant.launch.Launcher

Any advice?

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message