reverting
gave up on swig and the java wrappers