• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 210
  • Last Modified:

Change Java Temp

How do I change the value of java.io.tmpdir ?

I using J2EE

Thanks
0
elmoredaniel
Asked:
elmoredaniel
1 Solution
 
objectsCommented:
when you startup use command line option

-Djava.io.tmpdir=/some/where/else

or in your code try:

System.setProperty("java.io.tmpdir", "some/where/else");
0

Featured Post

[Webinar] Cloud and Mobile-First Strategy

Maybe you’ve fully adopted the cloud since the beginning. Or maybe you started with on-prem resources but are pursuing a “cloud and mobile first” strategy. Getting to that end state has its challenges. Discover how to build out a 100% cloud and mobile IT strategy in this webinar.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now