I don't believe it has anything to to with Java itself. You have likely also changed your classpath along the way, and it no longer includes mahout-collections.
On Wed, Aug 3, 2011 at 2:30 PM, marco turchi <[email protected]> wrote: > Dear All, > I have a strange error changing Java version. > > I have this line of code: > > RandomAccessSparseVector document = new > RandomAccessSparseVector(Integer.MAX_VALUE); > > and it works properly using java jdk1.6.0_17, but when I change java to a > newer version jdk1.6.0_23, I get this mistake: > Exception in thread "main" java.lang.NoClassDefFoundError: > org/apache/mahout/math/function/IntDoubleProcedure > > I check in the jar file of Mahout Math and this method is not present. > > Please can you help me? > > Thanks > Marco >
