I’m trying to copy two local files from my jar to the java temp dir defines like that :
String strDirectoy = System.getProperty("java.io.tmpdir") + path;
It works great when I launch it from eclipse, but when I try to launch it from the exported autoexec jar, it does’nt work !
Did I missed something ?
Ok I know what I’ve done wrong :
– First : eclipse does’nt export my own files (the ones I wanted to copy)
So I have to copy them in the jar manually after it had been exported by eclipse.