You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 16, 2025. It is now read-only.
Not sure if this has been reported before (could not find any issue on GH, open or closed) but after a brew install ant the following command does not work for me: $ ant -version
gives Error: Could not find or load main class org.apache.tools.ant.launch.Launcher
And also executing ant --execdebug fails with
``exec "/Library/Java/JavaVirtualMachines/jdk1.8.0_05.jdk/Contents/Home/jre/bin/java" -classpath "/usr/local/Cellar/ant/1.9.4/lib/ant-launcher.jar" -Dant.home="/usr/local/Cellar/ant/1.9.4" -Dant.library.dir="/usr/local/Cellar/ant/1.9.4/lib" org.apache.tools.ant.launch.Launcher -cp ""
Error: Could not find or load main class org.apache.tools.ant.launch.Launcher`
What could be the cause of this? In the meanwhile, will try using ant outside homebrew.
The text was updated successfully, but these errors were encountered:
and now ant -version and ant --execdebug run without errors. Not sure why I could not find these instructions explicitly in the previous thread, it's quite buried in one of the comments.
But thanks for the pointer the the earlier thread!
Hi,
Not sure if this has been reported before (could not find any issue on GH, open or closed) but after a
brew install ant
the following command does not work for me:$ ant -version
gives
Error: Could not find or load main class org.apache.tools.ant.launch.Launcher
And also executing
ant --execdebug
fails with``exec "/Library/Java/JavaVirtualMachines/jdk1.8.0_05.jdk/Contents/Home/jre/bin/java" -classpath "/usr/local/Cellar/ant/1.9.4/lib/ant-launcher.jar" -Dant.home="/usr/local/Cellar/ant/1.9.4" -Dant.library.dir="/usr/local/Cellar/ant/1.9.4/lib" org.apache.tools.ant.launch.Launcher -cp ""
Error: Could not find or load main class org.apache.tools.ant.launch.Launcher`
What could be the cause of this? In the meanwhile, will try using ant outside homebrew.
The text was updated successfully, but these errors were encountered: