java.io.tmpdir在什么位置
2015-11-03 00:00
204 查看
摘要: java.io.tmpdir在什么位置
java.io.tmpdir在什么位置
操作系统不同 这个系统属性所表示的目录也不同
On Windows: java.io.tmpdir:[C:\DOCUME~1\joshua\LOCALS~1\Temp\]
On Solaris: java.io.tmpdir:[/var/tmp/]
On Linux: java.io.tmpdir: [/tmp]
On Mac OS X: java.io.tmpdir: [/tmp]
The default temporary-file directory is specified by the system property java.io.tmpdir. 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
By default this value should come from the
java.io.tmpdir在什么位置
操作系统不同 这个系统属性所表示的目录也不同
On Windows: java.io.tmpdir:[C:\DOCUME~1\joshua\LOCALS~1\Temp\]
On Solaris: java.io.tmpdir:[/var/tmp/]
On Linux: java.io.tmpdir: [/tmp]
On Mac OS X: java.io.tmpdir: [/tmp]
The default temporary-file directory is specified by the system property java.io.tmpdir. 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
java.io.tmpdirSystem property, you can invoke the JVM as follows:
java -Djava.io.tmpdir=/path/to/tmpdir
By default this value should come from the
TMPenvironment variable on Windows systems
相关文章推荐
- 利用Spring的AbstractRoutingDataSource解决多数据源的问题
- Java和Jsp中获取类所在路径(绝对路径、相对路径)的几种方法
- Eclipse的logcat只显示Level栏内容
- Java多线程(二)之Atomic:原子变量与原子类
- Spring动态创建,加载,使用多数据源
- Java课堂作业05
- Java记录 -56- 详解HashSet不含重复元素的实现
- java cookie
- Java泛型
- spring mvc分页-----转载
- Java 多线程中run() 与 start() 的不同
- Java记录 -55- Set下的HashSet
- java动手动脑
- fastJson在java后台转换json格式数据探究
- Java并发编程:Lock
- Caused by: java.lang.UnsupportedOperationException
- Caused by: java.lang.UnsupportedOperationException
- [转载] 应用于负载均衡的一致性哈希及java实现
- java实现极简的LRU算法
- Jeecms去除Eclipse开发环境中的项目名