Starting the java code.