create java core part