How to change temp directory for Netbeans.

Hello.
When you need to change Temp directory for NetBeans, you can do it with java.io.tmpdir Java variable.
Edit netbeans.conf in etc folder of NetBeans distributive, add 
-J-Djava.io.tmpdir=e:/NetBeans/tmp/
into the netbeans_default_options.
For example:
netbeans_default_options="-J-Djava.io.tmpdir=e:/NetBeans/tmp/ -J-Duser.language=en -J-Duser.region=US -J-client -J-Xss2m -J-Xms32m -J-Dapple.laf.useScreenMenuBar=true -J-Dapple.awt.graphics.UseQuartz=true -J-Dsun.java2d.noddraw=true -J-Dsun.java2d.dpiaware=true -J-Dsun.zip.disableMemoryMapping=true"