`
zhangying
  • 浏览: 9693 次
  • 性别: Icon_minigender_1
  • 来自: 北京
最近访客 更多访客>>
社区版块
存档分类
最新评论

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.tmpdir System property, you can invoke the JVM as follows:

java -Djava.io.tmpdir=/path/to/tmpdir

By default this value should come from the TMP environment variable on Windows systems

分享到:
评论

相关推荐

    Eclipse 插件集合

    1.Colorer Take 能为在Eclipse中打开的各种类型源代码文件按语法着色。支持150多种语言。 2.XMLBuddy 编辑xml文件 3.Code Folding 加入多种代码折叠功能(比eclipse自带的更多) 4.Easy Explorer ...

    新手对于电脑虚拟内存不足解决方法

    第一招:关闭多余程序 如果同时打开的文档过多或者运行的程序过多,就没有足够的内存运行其他程序。这时,对于多文档界面程序,如Word、Excel等,请关闭当前文档外的所有文档,并退出当前未使用的程序,或许你...

    java jar包附带的doc.jar包文件 查看器 api 图形界面

    本地离线查看类似fastjson-1.2.21-javadoc.jar这样的doc文件,原理其实也是java读取该压缩文件,解压到System.getProperty("java.io.tmpdir")/javadoc-viewer下,再调用浏览器打开里面的index.html文件。 每次可以...

    SQLite JDBC 驱动程序在Java中访问和创建SQLite数据库文件的库完整项目源代码.zip

    SQLite JDBC是一个用于在Java中访问和创建SQLite数据库文件的库...sqlite-jdbc 将操作系统的本机库提取到 java.io.tmpdir JVM 属性指定的目录中。要使用其他目录,请将 org.sqlite.tmpdir JVM 属性设置为您喜欢的路径。

    ehcache-core-2.6.5.jar和mybatis-ehcache-1.0.2.jar

    <diskStore path="java.io.tmpdir"/> eternal="false" maxElementsInMemory="1000" maxElementsOnDisk="1000000" overflowToDisk="false" diskPersistent="false" timeToIdleSeconds="120" ...

    ehcache 缓存

     <diskStore path="java.io.tmpdir"/>    maxElementsInMemory="10000" !-- 缓存最大数目 -->  eternal="false" !-- 缓存是否持久 -->  overflowToDisk="true" !-- 是否保存到磁盘,当系统当机时-->  ...

    JFreeChart双Y轴折线图实例,可以直接运行

    System.out.println(System.getProperty("java.io.tmpdir")); System.out.println(filename); %> <img src="<%= graphURL %>" width="600" height="400" border="0" usemap="#<%= filename %>"> 记得在每次调用...

    节:斯坦福大学NLP官方Python语言库,支持多种人类语言

    它支持在60多种语言上运行各种准确的自然语言处理工具,以及从Python访问Java Stanford CoreNLP软件的支持。 有关详细信息,请访问我们的。 :fire: 现在提供了新的生物医学和临床英语模型包集合,为生物医学文献...

    jakarta-tomcat-catalina.rar_The Bat

    This temp directory is used by the JVM for temporary file storage. The JVM is configured to use this as its java.io.tmpdir in the catalina.sh and catalina.bat scripts.

    tomcat8:tomcat8源码分析

    -Dcatalina.home=launch -Dcatalina.base=launch -Djava.endorsed.dirs=launch/endorsed -Djava.io.tmpdir=launch/temp -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Djava.util.logging....

    tomcat-source-code:tomcat8.x原始码-tomcat source code

    -Djava.io.tmpdir=catalina-home/temp -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Djava.util.logging.config.file=home/conf/logging.properties 设置Main class : org.apache.catalina...

    tomcat8.5:Tomcat8.5源码解析-源码解析

    虚拟机选项: -Dcatalina.home = catalina-home -Dcatalina.base = catalina-home -Djava.endorsed.dirs = catalina-home /认可-Djava.io.tmpdir = catalina-home / temp -Djava.util.logging.manager = org .apache...

    Tomcat9.0-read:tomcat源码阅读

    Djava.endorsed.dirs = D:\ code \ tomcat-read \ endorsed -Djava.io.tmpdir = D:\ code \ tomcat-read \ temp -Djava.util。 logging.manager = org.apache.juli.ClassLoaderLogManager -Djava.util.logging....

    bobxwang#technology-thinking#问题排查工具单1

    jps 是 jdk 提供的一个查看当前 java 进程的小工具,其工作原理是在程序启动后,会在 java.io.tmpdir 指定的目录下生成一个类似于 hsp

    Tomcat-Source-Code:学习tomcat

    -Dcatalina.home = catalina-home -Dcatalina.base = catalina-home -Djava.endorsed.dirs = catalina-home /认可-Djava.io.tmpdir = catalina-home / temp -Djava.util.logging.manager = org .apache.juli....

    SoapUI插件实现import groovy功能2

    SoapUI插件实现import groovy功能 V2 http://blog.csdn.net/wwwqjpcom/article/details/51592896 更新的地方主要是不再在java.io.tmpdir目录下产生临时groovy文件

    myTomcat:tomcat源码调试构建-源码搭建

    myTomcat tomcat源码调试构建 本地建设时,jvm参数配置:要配置成一行,此处为了好看,分行写: - Dcatalina .... io . tmpdir = F : / github_code / Mine / myTomcat / catalina - home / temp - Djava . ut

    Linux下tomcat多实例配置

    Linux下tomcat多实例配置成功。步骤如下:  1. 下载一个免安装版本的tomcat,例如:apache-tomcat-7.0.59.tar.gz。...  work (JVM临时文件目录[java.io.tmpdir])  这几个文件夹中,只有bin,lib可以被多

    java版ss源码-log4j-systemd-journal-appender:用于维护结构化日志数据的systemd-journal的Lo

    java版s源码 将事件元数据(例如时间戳、记录器...需要java.io.tmpdir执行权限(默认为/tmp )。 例如,如果文件夹出于安全原因使用“ noexec ”挂载,则需要为 JNA 定义不同的临时目录: -Djna.tmpdir=/tmp-folder/w

    apktool documentation

    apks are nothing more than a zip file containing resources and compiled java. If you were to simply unzip an apk like so, you would be left with files such as classes.dex and resources.arsc. $ unzip...

Global site tag (gtag.js) - Google Analytics