fresh java

Function to auto checks java code