parameters: ()
return_statement: return _VERSION_REGEX.search(version_line.decode()).group(1)
docstring: Returns the string for the current version of Java installed.
docstring_summary: Returns the string for the current version of Java installed.
docstring_tokens: Returns the string for the current version of Java installed .
function: def _GetJavaVersion():
    """Returns the string for the current version of Java installed."""
    proc = subprocess.Popen(['java', '-version'], stderr=subprocess.PIPE)
    unused_stdoutdata, stderrdata = proc.communicate()
    version_line = stderrdata.splitlines()[0]
    return _VERSION_REGEX.search(version_line.decode()).group(1)
function_tokens: def _GetJavaVersion ( ) : proc = subprocess . Popen ( [ 'java' , '-version' ] , stderr = subprocess . PIPE ) unused_stdoutdata , stderrdata = proc . communicate ( ) version_line = stderrdata . splitlines ( ) [ 0 ] return _VERSION_REGEX . search ( version_line . decode ( ) ) . group ( 1 )