8

Error occurs executing ant

view full story
linux-howto

http://stackoverflow.com – everyone, I am trying to use ant on my linux system. I have downloaded ant and setup the path. However, when I entered ant in the command line, an error shows like this: *Error: Could not find or load main class org.apache.tools.ant.launch.Launcher* I have setup the path by using commands: export JAVA_HOME=/usr/lib/jvm/java-7-openjdk-i386/ export ANT_HOME=/usr/local/ant/ Could anyone help me with this problem? Thanks a lot. (HowTos)