We should not be hardcoding the path to java - but rely on system to dereference it appropriately.
That seems to be the general idiom in spark, and also seems to work fine in some of our test deployment ..