操作系统不同 这个系统属性所表示的目录也不同
On Windows: :[C:\DOCUME~1\joshua\LOCALS~1\Temp\]
On Solaris: :[/var/tmp/]
On Linux: : [/tmp]
On Mac OS X: : [/tmp]
The default temporary-file directory is specified by the system property . On UNIX systems the default value of this property is typically "/tmp" or "/var/tmp"; on Microsoft Windows systems it is typically "c:\temp". A different value may be given to this system property when the Java virtual machine is invoked, but programmatic changes to this property are not guaranteed to have any effect upon the the temporary directory used by this method.
To specify the System property, you can invoke the JVM as follows:
java -=/path/to/tmpdir
By default this value should come from the TMP environment variable on Windows systems
相关文章
- 的目录位置及修改
- onAttachedToWindow()在整个Activity生命周期的位置及使用
- linux下安装libcurl过程及开发遇到的问题"curl/:没有那个文件或目录"
- linux下安装libcurl过程及开发遇到的问题"curl/:没有那个文件或目录"缺少头文件解决方法
- BAT 一键提取当前目录及子文件夹下指定类型的文件
- BAT 一键遍历出当前目录及子文件夹下指定类型的文件
- 查看python pip安装的包存放路径(site-packages目录的位置)
- 关于WSL安装、修改安装位置、修改镜像源等的记录
- mysql更改数据文件目录及my.ini位置| MySQL命令详解
- 网络正常只有自己访问网站异常一度让你怀疑,是不是被黑了!域名解析异常是如何发生的,如何解决处理及C#编程实现一键修改Hosts文件