first version of java CPP generator