Revert "basic working java lib"

This reverts commit f63bf7adf62ddc5db2517925bb6464033aa970d2.