Thanks! This seems to be the only solution that works.

(I tried updating .bash_profile with the new PATH
info, and it still wouldn't work.)

Ernie

--- Ivan Brusic <[EMAIL PROTECTED]> wrote:
> Ernest Chan wrote:
> > 
> > I just installed emacs 20.4.1 and jde 2.1.5 on my
> > Win95 machine. I also installed Cygnus bash shell
> on
> > my PC.
> > 
> > JDE seems to load properly when I edit a .java
> program
> > in emacs. However, when I press the compile
> button,
> > the shell output says it cannot find javac.
> Actually I
> > already included the path to javac in my bash
> .bashrc
> > file. And in fact, when I start up a shell within
> > emacs, and use javac, it has no problems.
> > 
> > By the way, I just use the sample .emacs file
> found in
> > the JDE introductory website.
> > 
> > Anyone knows the solution?
> 
> You can use the command jde-set-compiler to change
> the path for javac.
> Or you can make the change in your .emacs file to
> make the change more
> permenant.
> I use custon-set-variables to make changes. Here is
> the portion from my
> .emacs:
> 
> (custom-set-variables
>  '(jde-global-classpath (quote
> ("/usr/people/ivan/WxPlay/classes" ".")))
>  '(jde-compiler "/usr/java/bin/javac")
>  '(jde-compile-options "-deprecation")
>  '(jde-run-java-vm "/usr/java/bin/java")
> )
> 
> The third line contains the change you want, but the
> other variables may
> also be of importance.
> 
> Hope this helps,
> 
> Ivan
> 
> -- 
> 
> Ivan Brusic                    |  "Computers are
> nothing but a perfect
> E-mail: [EMAIL PROTECTED]    |   illusion of
> order" - Iggy Pop
> 


=====

__________________________________________________
Do You Yahoo!?
Bid and sell for free at http://auctions.yahoo.com

Reply via email to