MCPcopy Create free account
hub / github.com/apache/storm / get_java_cmd

Function get_java_cmd

bin/storm.py:84–88  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

82
83
84def get_java_cmd():
85 cmd = 'java' if not is_windows() else 'java.exe'
86 if JAVA_HOME:
87 cmd = os.path.join(JAVA_HOME, 'bin', cmd)
88 return cmd
89
90
91def confvalue(name, storm_config_opts, extrapaths, overriding_conf_file=None, daemon=True):

Callers 1

init_storm_envFunction · 0.85

Calls 2

is_windowsFunction · 0.85
joinMethod · 0.45

Tested by

no test coverage detected