all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Anselm Helbig <anselm.helbig+news2009@googlemail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: Using javac with Emacs
Date: Fri, 18 Sep 2009 14:15:38 +0200	[thread overview]
Message-ID: <873a6kcutx.wl%anselm.helbig+news2009@googlemail.com> (raw)
In-Reply-To: <878wgcjyjk.fsf@student.ulg.ac.be>

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	other threads:[~2009-09-18 12:15 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-09-18 11:13 Using javac with Emacs Merciadri Luca
2009-09-18 12:15 ` Anselm Helbig [this message]
2009-09-18 12:59   ` Merciadri Luca
2009-09-18 13:26     ` Anselm Helbig
2009-09-18 19:16       ` Merciadri Luca
2009-09-18 19:18       ` Merciadri Luca
2009-09-18 20:04         ` Peter Dyballa
     [not found]         ` <mailman.6981.1253304267.2239.help-gnu-emacs@gnu.org>
2009-09-19  8:21           ` Merciadri Luca
2009-09-18 12:41 ` Peter Dyballa
     [not found] ` <mailman.6939.1253277697.2239.help-gnu-emacs@gnu.org>
2009-09-18 13:02   ` Merciadri Luca
2009-09-18 13:28     ` Anselm Helbig
2009-09-18 15:47       ` Merciadri Luca
2009-09-18 13:32     ` Pascal J. Bourguignon
2009-09-18 14:21       ` Richard Riley
2009-09-18 15:46         ` Merciadri Luca
2009-09-18 16:36           ` Colin S. Miller
2009-09-18 19:10             ` Merciadri Luca
2009-09-18 18:52           ` Peter Dyballa
     [not found]           ` <mailman.6973.1253299971.2239.help-gnu-emacs@gnu.org>
2009-09-18 19:10             ` Merciadri Luca
2009-09-18 15:44       ` Merciadri Luca

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=873a6kcutx.wl%anselm.helbig+news2009@googlemail.com \
    --to=anselm.helbig+news2009@googlemail.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.