Error when closing ImageJ

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Error when closing ImageJ

sean_incali
I'm getting the following errors when closing the ImageJ application. I'm on windows vista 32 bit. Can anyone suggest something?

java.io.FileNotFoundException: C:\PROGRA~1\ImageJ\IJ_Prefs.txt (Access is denied)

        at java.io.FileOutputStream.open(Native Method)

        at java.io.FileOutputStream.<init>(Unknown Source)

        at java.io.FileOutputStream.<init>(Unknown Source)

        at ij.Prefs.savePrefs(Prefs.java:475)

        at ij.Prefs.savePreferences(Prefs.java:318)

        at ij.ImageJ.run(ImageJ.java:657)

        at java.lang.Thread.run(Unknown Source)

<Unable to save preferences>



     
Reply | Threaded
Open this post in threaded view
|

Re: Error when closing ImageJ

Mohamad Habes
For some Reason I got the same Problem on Vista, I solved it when I
created a File "IJ_Prefs.txt" at that path.

good luck


sean k wrote:

> I'm getting the following errors when closing the ImageJ application. I'm on windows vista 32 bit. Can anyone suggest something?
>
> java.io.FileNotFoundException: C:\PROGRA~1\ImageJ\IJ_Prefs.txt (Access is denied)
>
> at java.io.FileOutputStream.open(Native Method)
>
> at java.io.FileOutputStream.<init>(Unknown Source)
>
> at java.io.FileOutputStream.<init>(Unknown Source)
>
> at ij.Prefs.savePrefs(Prefs.java:475)
>
> at ij.Prefs.savePreferences(Prefs.java:318)
>
> at ij.ImageJ.run(ImageJ.java:657)
>
> at java.lang.Thread.run(Unknown Source)
>
> <Unable to save preferences>
>
>
>
>      
>
>  
Reply | Threaded
Open this post in threaded view
|

Re: Error when closing ImageJ

Wayne Rasband
In reply to this post by sean_incali
On Windows Vista, ImageJ needs to be installed in a directory that  
the users has permission to write to, such as Documents or Desktop.  
Write access to the ImageJ folder is needed to set the memory limit,  
to install plugins and to save preferences.

-wayne

On May 31, 2009, at 9:51 PM, sean k wrote:

> I'm getting the following errors when closing the ImageJ  
> application. I'm on windows vista 32 bit. Can anyone suggest  
> something?
>
> java.io.FileNotFoundException: C:\PROGRA~1\ImageJ\IJ_Prefs.txt  
> (Access is denied)
>
> at java.io.FileOutputStream.open(Native Method)
>
> at java.io.FileOutputStream.<init>(Unknown Source)
>
> at java.io.FileOutputStream.<init>(Unknown Source)
>
> at ij.Prefs.savePrefs(Prefs.java:475)
>
> at ij.Prefs.savePreferences(Prefs.java:318)
>
> at ij.ImageJ.run(ImageJ.java:657)
>
> at java.lang.Thread.run(Unknown Source)
>
> <Unable to save preferences>
>
>
>
>