update java version parsing code to not crash on abnormal java versions by using regex, bump version to 1.3.0 based on recent changes