revert to just java for a test