i mean when i put drussgt 3.1.0's tree in the base directory where i extracted the files it doesn't work
There were some minor changes in the tree, so the adapter might need to be changed from
new KDTree(... to
new KDTree.Euclidean(..., but after that you're on your own. You haven't given any indication of what is wrong, why it isn't working or even exactly what you did.