parse java version
add spec for parse