def config_java(bin=None, options=None, verbose=False):
 global _java_bin, _java_options
 _java_bin = find_binary('java', bin, env_vars=['JAVAHOME', 'JAVA_HOME'], verbose=verbose, binary_names=['java.exe'])
 if (options is not None):
  if isinstance(options, compat.string_types):
   options = options.split()
  _java_options = list(options)

def config_java ( bin = None , options = None , verbose = False ) : global _java_bin , _java_options _java_bin = find_binary ( 'java' , bin , env_vars = [ 'JAVAHOME' , 'JAVA_HOME' ] , verbose = verbose , binary_names = [ 'java.exe' ] ) if ( options is not None ) : if isinstance ( options , compat . string_types ) : options = options . split ( ) _java_options = list ( options )
configure nltks java interface .