It seems that most stackoverflow solutions suggest to locate a static resource file from a jar file using classfolder or inputstream approach. In my case, the third party code needs to access the static resource file using a conventional path (jasperPath in the code below). JasperPrint print = JasperFillManager.fillReport(jasperPath, paramMap, con); Do I have to treat the static resource file as an external file (i.e., a file outside the jar file)? Many thanks in advance.