Login  Register

Re: getDirectory problem on Windows Vista Business

Posted by Wayne Rasband on May 04, 2007; 5:22pm
URL: http://imagej.273.s1.nabble.com/getDirectory-problem-on-Windows-Vista-Business-tp3699601p3699602.html

JFileChooser, used by the getDirectory() macro function, does not work
with Java 1.5 on Vista. You need to upgrade to Java 1.6. Instructions
are available at

      http://rsb.info.nih.gov/ij/docs/install/windows.html#upgrade

-wayne

On May 4, 2007, at 7:41 AM, Ben Sutcliffe wrote:

> Hello,
>
> I need help.  I have searched the forum but cannot find a solution to
> this
> problem.
>
> We can't get the following macro to work with Windows Vista Business
> (Works
> fine on XP):
>
>   dir1 = getDirectory("Choose Source Directory ");
>
> We have confirmed that varitions on the marco work such as:
>
>   dir1 = getDirectory("image");
>
> and
>
>   dir1 = getDirectory("temp");
>
> But cannot get the choose directory macro to run.  Does anyone have any
> suggestions/solutions.
>
> I look forward to your replies.
>
> Ben
>