Ant Is Broken After Upgrade BDA From 2.x To 3.0.1 On OL5 (Doc ID 1908741.1)

Last updated on DECEMBER 23, 2015

Applies to:

Big Data Appliance Integrated Software - Version 3.0.1 and later
Linux x86-64

Symptoms

An Apache application named Ant which is used to compile java programs works without any issues on BDA 2.x OL5. After the upgrade of BDA from 2.x to BDA 3.0.1 or higher, Ant is failing with the following error:

For example, after upgraded the BDA to 3.0.1:

# which ant
/usr/bin/ant

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

On BDA 2.2.1:

# which ant
/usr/bin/ant

# ant -version
Apache Ant version 1.6.5 compiled on June 5 2007

 

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms