Create Java Code