How to use trove-3.0.3-src.jar file for a Java project

480 views Asked by At

I want to use trove collections for my project but I was unable to use them by adding the jar file. https://bitbucket.org/robeden/trove/downloads

Can someone tell me how to use trove collections in my project?

2

There are 2 answers

2
Rob Eden On BEST ANSWER

Don't use trove-3.0.3-src.jar (this is source, not the binaries), instead use trove-3.0.3.jar from the "lib" directory. That should be placed in your classpath in whatever manner is appropriate for your development environment.

As has been mentioned, you can also download from Maven Central using Maven or Gradle (group: net.sf.trove4j artifact: trove4j).

7
WildCherryCandy On

If you use Eclipse you can add external jar in project properties.