code: function _gpfHostJava () {
  
      _gpfDosPath = String(java.lang.System.getProperty("file.separator")) === "\\";
  
      // Define console APIs
      _gpfMainContext.console = _gpfConsoleGenerate(print);
  
      /* istanbul ignore next */ // exit.1
      _gpfExit = function (code) {
          java.lang.System.exit(code);
      };
  
  }
docs: Common implementation for Java hosts
  @since 0.2.4