<html>
    <head>
      <base href="http://fiji.sc/bugzilla/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - setting "FIJI_PREFS_DIR" without effect"
   href="http://fiji.sc/bugzilla/show_bug.cgi?id=858">858</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>setting "FIJI_PREFS_DIR" without effect
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>Fiji
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>PC
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Windows
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>enhancement
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P5
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>ImageJ1
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>imagej-bugs@imagej.net
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>Goosmann@mpiib-berlin.mpg.de
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Despite having set  "FIJI_PREFS_DIR" to an exsisting and writeable path
(C:\Fiji_Pref), Fiji uses an invalid path obtained by
system.get.property(user.home) See <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - error saving/loading preferences"
   href="show_bug.cgi?id=187">bug 187</a>. Trying to save preferences results
in an error message: "error saving preferences
\\fileserver\profiles$\Desktop\.imagej\IJ_Prefs.txt (Zugriff verweigert)"
I checked whether a beanshell skript can retreive the set value of 
"FIJI_PREFS_DIR" and what FIJI uses as PrefsDir instead. See content of
beanshell window below:

Starting BeanShell...
All ImageJ and java.lang and TrakEM2 classes imported.
Ready -- have fun.
<span class="quote">>>>
>>> e = System.getenv("IJ_PREFS_DIR")</span >
C:\Fiji_Pref

<span class="quote">>>> print(ij.Prefs.getPrefsDir())</span >
\\fileserver\profiles$\Desktop\.imagej

<span class="quote">>>> ij.Prefs.savePreferences()</span >

The last skript command leads to said error message.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>