Reputation: 4959
In my working directory I have the following files : mallet-deps.jar, TopicTest.java and trove-3.0.3.jar but when i run javac -cp mallet-deps.jar:. TopicTest.java
I get a bunch of import errors saying package doesn't not exist i.e
TopicTest.java:3: package cc.mallet.util does not exist import cc.mallet.util.*;
It seems like the Jar is not being included properly, im compiling on Ubuntu 12.04
Upvotes: 0
Views: 169
Reputation: 245
I think you will need a manifest file that will point to the jar. use ClassPath:
Upvotes: 1
Reputation: 12139
what version of java do you use?
does the reffered jar file really contain the package reported as missing?
Upvotes: 0