Github user andrewor14 commented on the pull request:

    https://github.com/apache/spark/pull/5432#issuecomment-91361393
  
    Is it always safe to rely on `java.home` pointing to the right directory? 
IIUC this is independently of whether we use Maven or SBT. Then perhaps the 
correct way of fixing this is doing something like what 
`AbstractCommandBuilder` does, where if `JAVA_HOME` is not set it defaults to 
using 
`java.home`:https://github.com/apache/spark/blob/470d7453a56c56a41b2851551fe1830065f88b2c/launcher/src/main/java/org/apache/spark/launcher/AbstractCommandBuilder.java#L93


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to