a complier write by java