use jar to compile java projects