Prepare entry points in java.