help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Using javac with Emacs


From: Anselm Helbig
Subject: Re: Using javac with Emacs
Date: Fri, 18 Sep 2009 14:15:38 +0200

Hi!

> I am using Emacs without JDE. When writing a .java file, then
> compiling it e.g. using
> $ javac myfile.java
> , emacs does not recognize the comment. It is even worse, as emacs
> does not allow me to type the whole command, because it does not
> recognize what "javac" is. However, it works using a terminal (and
> thus without Emacs). How can I manage to make it work?

What does M-: (executable-find "javac") give you? Compare the output
of M-x show-variable<RET>exec-path<RET> with echo $PATH in your
shell. Do you start emacs from your shell? If not, does starting it
from the shell make the problem go away?

HTH, 

Anselm


-- 
Anselm Helbig 
mailto:anselm.helbig+news2009@googlemail.com


reply via email to

[Prev in Thread] Current Thread [Next in Thread]