So according to this, processes do not inherit shell variables.
So this process should not see variables A and B:
A=X
B=Y
java -cp blah ...
This all make sense until you see that they are passed if defined on the same line:
A=X \
B=Y \
java -cp blah ...
Is this specific to Java (perhaps internally reading command line) or to all *nix processes?