I'm trying to compile a java code as in the following line :
javac -classpath /Users/tim/kws/code/library:/Users/moab/kws/code/commons-cli-1.2/commons-cli-1.2.jar:/Users/tim/kws/code/commons-math-2.2/commons-math-2.2.jar:/Users/tim/kws/code/common-math3-3.1.1/commons-math3-3.1.1.jar RATSWriteLandmarksFromPfile.java
/Users/tim/kws/code/library/ppm/types/LabelPfile.java:17: error: package org.apache.commons.math3.random does not exist import org.apache.commons.math3.random.RandomDataImpl; ^ /Users/tim/kws/code/library/ppm/types/LabelPfile.java:50: error: cannot find symbol private RandomDataImpl randomData_; ^ symbol: class RandomDataImpl location: class LabelPfile /Users/tim/kws/code/library/ppm/types/LabelPfile.java:321: error: cannot find symbol randomData_ = new RandomDataImpl(); ^ symbol: class RandomDataImpl location: class LabelPfile 3 errors
does anybody know why am I getting these errors ?
似乎您缺少commons-math3库。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.