You need to import this path.
import org.apache.commons.math
You can add the zip file to your build path or extract the jar files from the zip and add it to the build path. For example, to add 2.1 apache math, you need this commons-math-2.1.zip zip file or extract commons-math-2.1.jar from the zip file and add it to the eclipse build path.
Another trick is if you have jar or zip files added to your build path in eclipse then do ctrl + shift + o and eclipse will automatically import the packages for you.
Coolbeans
source share