Execute java code on runtime