fresh java

Function to auto check java code