I've actually figured out how to modify jboss' env variables so this fix is no
longer strictly necessary for me. The answer was to create a
PATH=/usr/local/bin:/usr/bin in run.conf and then export PATH in run.sh.
It is not really ideal to have to modify JBoss's startup scripts since it's
another thing to forget when moving hudson to a new machine. I also think it may
be needed for other people since env variables are not considered portable
across systems in java. Properties are the way you are supposed to pass in
options to Java. I think the config page is effectively an api between hudson
and it's environment and therefore any external bin dependencies should go there.
Thanks for the update, I'll test 1.76 when it's released and let you know if it
doesn't work.
Fixed in 1.75.