Our gathering of environ data (os.environ) is now antiquated as of Java 1.5. We currently have a hack of grabbing the environ data via a shell process (handled by the javashell module), when we can now simply use Java 1.5's System.getenv()
Changing to getenv() will cleanup some of javashell. We still need to be careful of requiring the environment variable keys to be uppercased on windows platforms (CPython also has to handle this, see its os.py). javashell handles this for us currently