use pure erlang function to judge the erlang version, no shell.