简体   繁体   中英

Apache Ant version for java 10

Is Ant 1.10.2 compatible with Java 10? The ant documentation is not very clear: it just says that it is compatible with a minimum version of Java 1.5. How can I be sure that it is compatible with java 10? Thank you!

It is not explicitly listed as compatible with Java 10, but if you look at release notes of latest Ant:

  • added "javac10+" as new supported value for javac's compiler attribute.
    • javah has been removed from Java 10. The task will now throw an exception if you try to use it while running Java 10 or newer.

So they mention Java 10 in regard to javac and javah, so I would assume it should work.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM