-
Notifications
You must be signed in to change notification settings - Fork 419
How we can change the default file creation path #479
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Which temporary files are we talking about and why would their location be important to worth changing? Thank you, |
I developed a JAR file for generating PDF files, but the process terminated at |
@teodord : Can you see any issues in the log I've included below? 2024-09-25 15:39:47 "Java2D Disposer" #15 daemon prio=10 os_prio=0 tid=0x00007f4ee419a000 nid=0x26af in Object.wait() [0x00007f4f09abb000] Locked ownable synchronizers: "Attach Listener" #14 daemon prio=9 os_prio=0 tid=0x00007f4f14001000 nid=0xf2b6 waiting on condition [0x0000000000000000] Locked ownable synchronizers: "pool-1-thread-1" #13 prio=5 os_prio=0 tid=0x00007f4f60663000 nid=0xf25c runnable [0x00007f4f3e78e000] |
What JasperReports version are you using? |
@dadza JasperReport version is using 4.7.1 |
You can change the Java temporary files folder by passing an argument like -Djava.io.tmpdir=/path/to/temp/folder when starting the Java process. Note that this will apply to other temporary files created by the Java process. |
Could you please let me know how to change the temporary file creation location to a different folder path for the following line of execution?
jPrintFile = JasperFillManager.fillReport(jReport, params, jrbcds);
// jReport : JasperReport
// params: HashMap<String, Object> params = new HashMap<>();
// jrbcds: JRBeanCollectionDataSource
The text was updated successfully, but these errors were encountered: