I. Description
During the operation of the server, occasionally, the temporary directory of Java IO operation is full or the operation is not authorized. At this time, an error will be reported. The following are common solutions.
II. Solutions
Usually different systems have different tmpdir paths
Under Windows: C:\Users\[User Name]\AppData\Local\Temp
Under Linux and Mac: \tmp
1. Insufficient permissions
If the temporary file operation permissions are insufficient, find the default temporary file and assign permissions to the folder
2. Clean up memory
Clean up unused files in the temporary directory folder and increase the memory
3. Change the temporary file path
Reset the temporary directory of Java, that is, create a folder with permissions, and then refer to it as the temporary directory of Java
1) Local designer
Modify the file %FR_HOME%/bin/designer.vmoptions and add a line of code below to specify the tmpdir path, as shown in the following figure:
-Djava.io.tmpdir=C:\temp
Note: The path can be modified by yourself.
2) Under Tomcat server
If it is a Tomcat server, open the %TOMCAT%/bin/catalina.bat file, find the field for configuring the default temporary directory path: CATALINA_TMPDIR, modify its path value to the folder you created, as shown below:
Save the file, restart the server