parameters: (release='',vendor='',vminfo=('','',''),osinfo=('','',''))
return_statement: return release, vendor, vminfo, osinfo
docstring: Version interface for Jython.
  
          Returns a tuple (release,vendor,vminfo,osinfo) with vminfo being
          a tuple (vm_name,vm_release,vm_vendor) and osinfo being a
          tuple (os_name,os_version,os_arch).
  
          Values which cannot be determined are set to the defaults
          given as parameters (which all default to '').
docstring_summary: Version interface for Jython.
docstring_tokens: Version interface for Jython .
function: def java_ver(release='',vendor='',vminfo=('','',''),osinfo=('','','')):
  
      """ Version interface for Jython.
  
          Returns a tuple (release,vendor,vminfo,osinfo) with vminfo being
          a tuple (vm_name,vm_release,vm_vendor) and osinfo being a
          tuple (os_name,os_version,os_arch).
  
          Values which cannot be determined are set to the defaults
          given as parameters (which all default to '').
  
      """
      # Import the needed APIs
      try:
          import java.lang
      except ImportError:
          return release,vendor,vminfo,osinfo
  
      vendor = _java_getprop('java.vendor', vendor)
      release = _java_getprop('java.version', release)
      vm_name, vm_release, vm_vendor = vminfo
      vm_name = _java_getprop('java.vm.name', vm_name)
      vm_vendor = _java_getprop('java.vm.vendor', vm_vendor)
      vm_release = _java_getprop('java.vm.version', vm_release)
      vminfo = vm_name, vm_release, vm_vendor
      os_name, os_version, os_arch = osinfo
      os_arch = _java_getprop('java.os.arch', os_arch)
      os_name = _java_getprop('java.os.name', os_name)
      os_version = _java_getprop('java.os.version', os_version)
      osinfo = os_name, os_version, os_arch
  
      return release, vendor, vminfo, osinfo
function_tokens: def java_ver ( release = '' , vendor = '' , vminfo = ( '' , '' , '' ) , osinfo = ( '' , '' , '' ) ) : # Import the needed APIs try : import java . lang except ImportError : return release , vendor , vminfo , osinfo vendor = _java_getprop ( 'java.vendor' , vendor ) release = _java_getprop ( 'java.version' , release ) vm_name , vm_release , vm_vendor = vminfo vm_name = _java_getprop ( 'java.vm.name' , vm_name ) vm_vendor = _java_getprop ( 'java.vm.vendor' , vm_vendor ) vm_release = _java_getprop ( 'java.vm.version' , vm_release ) vminfo = vm_name , vm_release , vm_vendor os_name , os_version , os_arch = osinfo os_arch = _java_getprop ( 'java.os.arch' , os_arch ) os_name = _java_getprop ( 'java.os.name' , os_name ) os_version = _java_getprop ( 'java.os.version' , os_version ) osinfo = os_name , os_version , os_arch return release , vendor , vminfo , osinfo