From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?UTF-8?Q?Gr=C3=A9goire_Neuville?= Newsgroups: gmane.emacs.help Subject: Re: Emacs and Java Date: Fri, 14 Sep 2012 18:29:44 +0200 Message-ID: References: <87har0onhj.wl%f@mazzo.li> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1347640687 13102 80.91.229.3 (14 Sep 2012 16:38:07 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 14 Sep 2012 16:38:07 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Sep 14 18:38:09 2012 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1TCYu5-0007gN-FT for geh-help-gnu-emacs@m.gmane.org; Fri, 14 Sep 2012 18:38:05 +0200 Original-Received: from localhost ([::1]:47451 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TCYu1-0000lt-Mx for geh-help-gnu-emacs@m.gmane.org; Fri, 14 Sep 2012 12:38:01 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:41048) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TCYm3-00063M-CK for help-gnu-emacs@gnu.org; Fri, 14 Sep 2012 12:29:48 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TCYm2-0004vR-5o for help-gnu-emacs@gnu.org; Fri, 14 Sep 2012 12:29:47 -0400 Original-Received: from mail-ob0-f169.google.com ([209.85.214.169]:34968) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TCYm2-0004vN-0V for help-gnu-emacs@gnu.org; Fri, 14 Sep 2012 12:29:46 -0400 Original-Received: by obhx4 with SMTP id x4so7160233obh.0 for ; Fri, 14 Sep 2012 09:29:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; bh=SudjND3vns1Ijyrgo0PukX5q8ecKN3qY1fSNycGSEjU=; b=LKwvKzLNlkw4I6ehYSVCnjm80OXWuysV8BBsZyhs1Q6G00enVOLgm6PJNq3f77vCIU UHcTWjHxWenRJoGTBunBGBLmeO5cA+ttxex3Qv8SKuy3zF8ZYzCezH3wi05S8LTPiBSc xG0kYP69qvXzZDzQojyYpUJpQHhdWNejlyq3b6JyR+Gu3Jx+xHbcoP0+H94T2OUBn02O ErN9vhXPNSiEnY0jQGBV+cmbgS5tEQXH9vtmeWTr1dAKi/d6lR9zb5GG3l9Kwid3pSS2 sBaOCTbLELOCkA6xT2C/Rh58iqXD4Bv6n7ihQmtwJTf4O1ZaQXdw2xC5SEzhbS6UOtbe qCRQ== Original-Received: by 10.60.29.134 with SMTP id k6mr4166804oeh.5.1347640184636; Fri, 14 Sep 2012 09:29:44 -0700 (PDT) Original-Received: by 10.76.125.70 with HTTP; Fri, 14 Sep 2012 09:29:44 -0700 (PDT) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 209.85.214.169 X-Mailman-Approved-At: Fri, 14 Sep 2012 12:37:57 -0400 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:86769 Archived-At: Hello, There is : https://github.com/senny/emacs-eclim (haven't tried it though) Otherwise if you're able and willing to, I strongly and heartily advise you to switch to scala (http://www.scala-lang.org/ , fully interoperable with java) ; then you could use https://github.com/aemoncannon/ensime which is great. Hope that will help, G.N On 14 September 2012 13:25, Francesco Mazzoli wrote: > Hi, > > As much as I dislike Java, I find myself having to write Java code from t= ime to > time, and I'm sure that a lot of you are in the same situation. > > Given that, I find it very surprising that support for the Java language = in > Emacs is abysmal. > > I tried: > > * java-mode: does not support any modern Java construct, and with moder= n I > mean >=3D Java 5 (generics, foreach loops, enums). > * JDEE: seems to be completely unmaintained and barely working with mod= ern > emacsen, and lacking support for post-2004 Java as well. > * malabar-mode : promises sup= port > for what JDEE is lacking. Building with stock Maven and Emacs on Ubu= ntu > 12.04 fails. There is a fork () > that seems more maintained but building fails there as well with a di= fferent > error. > > So it seems that there is no way to at least edit comfortably Java code, = let > alone have flymake, semantic features, etc. This seems a huge gap in wha= t is > the best editor out there. > > Am I correct, or is there hope in some project I haven't considered? > malabar-mode seems to be the best candidate (if you can get it working) b= ut > frankly I'm not that comfortable using it since it pulls a huge number of > dependencies and I don't want something to fancy anyway. > > -- > Francesco * Often in error, never in doubt > -- Gr=C3=A9goire Neuville --=20 Gr=C3=A9goire Neuville