split java core from the rest