upload java files only
fix build for multithread