Open D7x7z49 opened 6 days ago
emsdk doesn't use java for anything anymore so these should not be needed.
Sorry I take that back, it looks like we do still install java on with the windows version of the SDK. I have PR up to remove it: https://github.com/emscripten-core/emsdk/pull/1324
I think the reason JAVA_HOME was used is because that is the standard environment variable used by java itself so this makes things just work. It was probably not most hermetic way to embed java since it means the whole system would then use the emsdk version of java.
When running
./emsdk activate latest
, I noticed the environment variablesEMSDK_NODE
andEMSDK_PYTHON
. However, for Java, the variable used isJAVA_HOME
instead ofEMSDK_JAVA_HOME
. Why is this the case?