0
votes

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 ?

1

1 Answers

0
votes

Seems like you are missing the commons-math3 library.