Instead of exiting emacs - you can just use "M-x setenv" to change the PATH
environment variable. When it prompts you for the new value, just hit down
arrow and it will put the old value of PATH in the minibuffer, which you can
then edit.  You probably need to restart JDEbug for it to use the new path.
It would be nice to have a JDK switcher feature built into JDE though, so I
am requesting this feature too =)

Matt

David Averbuch <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
>
> Hi,
>
> Is there a way to specify the jdk-directory from which javac and java will
be
> taken?
>
> The "Jdk directory" variable which is set in JDEbug/preferences seems to
be
> irrelevant
> for this purpose.
>
> I can exit from emacs, change the PATH and reenter emacs but I hope that
this is
> not
> necessary.
>
> Please write also to:   [EMAIL PROTECTED]
>
> Thanks,
>
>       David
>

Reply via email to