Handle errors whe looking for Java executable#8648
Conversation
|
This should be rebased against master. If I'm reading right, these are launching a subshell to check the |
|
If java must get launched I think we entertain |
It is launching a subshell but it was always doing that because it's necessary to capture the output of |
|
@mrnoname1000 Ok that seems find then. We can merge this once you rebase it on master. |
563c613 to
59855f3
Compare
59855f3 to
fa3d535
Compare
|
We can merge this, as it is a good change, but it doesn't actually fix jruby/jruby-launcher#44. That issue is actually about the native launcher, not the shell script. |
Should fix jruby/jruby-launcher#44. Doesn't explicitly check if
javais a directory butcommand -vwill fail because it's not a file that can be executed.