Make Java Run as Scheduled Task in XP - Problem in reading env user variable
<p>I try to run a java application through scheduled task in XP :</p>

<pre><code>at 11:00 /every:m,t,w,th,f,s,su cmd /c "C:\Projects\piko\dist\piko.jar" arg
</code></pre>

<p>I realize in piko.jar, it always read empty for</p>

<pre><code>System.getProperty("user.home")
</code></pre>

<p>If I run it as normal application through command prompt,</p>

<p>java -jar C:\Projects\piko\dist\piko.jar arg</p>

<p>The environment variable is there.</p>

<p>May I know how can I resolve this?</p>
