executes any java code that is passed as a string