Skip to main content

How can I install ant without GCJ?

20 Mar 2013 - linux

sudo apt-get install --no-install-recommends ant

When trying to use ant to build the X10 compiler, ant complained about a missing JAR. It looked like the build.xml file used javah targets. So, I installed ant-optional using the following command.

sudo apt-get install --no-install-recommends ant-optional