Revert "Revert "load stl in java""

This reverts commit 2b5123a05bbdd8cf19286a48d56d46db2eb29bdd.
make 4.2 work