操作系统不同 这个系统属性所表示的目录也不同
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
相关文章
- 修改小程序指示点距离底部的位置
- eplan怎样创建和修改图框_EPLAN标题页及图框的设计
- mysql修改用户密码的方法及命令
- 解决useradd 用户后没有添加用户Home目录的情况,Linux改变文件或目录的访问权限命令,linux修改用户密码
- select标签,获取数据库中的值作为option. 修改时定位在指定位置
- idea中maven自带Bundled (Maven 2)和Bundled (Maven 3)的文件目录位置
- Centos 修改默认的远程端口及避坑指南
- C#中如何获取鼠标及控件的位置坐标(相对于屏幕)
- (转)linux下vi命令修改文件及保存的使用方法
- linux下vi命令修改文件及保存的使用方法