fixed global variable issue with java paths

fixed global variable issue with java paths;  adding to the java class
path clears the global variable set.  Re-ordered setup of nctoolbox and
other components