Code clean, avoid loading of jri.dll in windows systems