From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Pankaj Jangid Newsgroups: gmane.emacs.help Subject: Re: Emacs as Java ICE Date: Wed, 27 Nov 2019 04:40:33 +0000 Organization: J4D Network Message-ID: <0100016eab293081-d08667ed-f4e0-4f4b-ab65-1814160dcb2f-000000@email.amazonses.com> References: <87y2w2pgeg.fsf@cgc-instruments.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="169130"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (darwin) Cc: help-gnu-emacs@gnu.org To: Dan =?utf-8?B?xIxlcm3DoWs=?= Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Nov 27 05:53:55 2019 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iZpKs-000hr1-TE for geh-help-gnu-emacs@m.gmane.org; Wed, 27 Nov 2019 05:53:55 +0100 Original-Received: from localhost ([::1]:32964 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iZpKr-0007Ax-MX for geh-help-gnu-emacs@m.gmane.org; Tue, 26 Nov 2019 23:53:53 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:37704) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <0100016eab293081-d08667ed-f4e0-4f4b-ab65-1814160dcb2f-000000@amazonses.com>) id 1iZpKO-0006tc-H0 for help-gnu-emacs@gnu.org; Tue, 26 Nov 2019 23:53:27 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <0100016eab293081-d08667ed-f4e0-4f4b-ab65-1814160dcb2f-000000@amazonses.com>) id 1iZp7y-0005Hw-Vo for help-gnu-emacs@gnu.org; Tue, 26 Nov 2019 23:40:36 -0500 Original-Received: from a8-87.smtp-out.amazonses.com ([54.240.8.87]:40320) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from <0100016eab293081-d08667ed-f4e0-4f4b-ab65-1814160dcb2f-000000@amazonses.com>) id 1iZp7y-0005HU-QG for help-gnu-emacs@gnu.org; Tue, 26 Nov 2019 23:40:34 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/simple; s=2i3gzvbgh3d3bo7yfqpvb5eru2hqctky; d=j4d.net; t=1574829634; h=From:To:Cc:Subject:References:Date:In-Reply-To:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding; bh=00Hu+RderJlr4xcMV1LqCCDcHvlmYPctvyIAoABoDIQ=; b=lStVZcF9WyP3o0GDvykfWxxGK2gtj2PB25Fhxutk7+OnLQkuRXMK/abtQcI8P8AY xUpF3GzcAdGh0aAat0Gu+gqJxdMArFm1jmrnh7pDZ76DyE5QkOlckPI1fuDvK9ynIR3 SyFg0EoBuaLQwXjtLPvcdajEmI7iT/QPHnZQqjxM= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/simple; s=6gbrjpgwjskckoa6a5zn6fwqkn67xbtw; d=amazonses.com; t=1574829633; h=From:To:Cc:Subject:References:Date:In-Reply-To:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding:Feedback-ID; bh=00Hu+RderJlr4xcMV1LqCCDcHvlmYPctvyIAoABoDIQ=; b=erjBw3zF90QK0U3Z1HZpZjb1dnIJLvwx1wy/lpI7bpVBK4YIUWxKQ3yGJ+3ZYtt6 0iEVH314qeyws5FP3zscV9bqYAnGsh6IjG/Xhe2s37RnzirhVTVjFr9JX5Ynam34fsW LENjxZ+z1mG09pN+GG0DdB/ex2raRpB/FBOHRrWQ= In-Reply-To: <87y2w2pgeg.fsf@cgc-instruments.com> ("Dan =?utf-8?B?xIxlcm0=?= =?utf-8?B?w6FrIidz?= message of "Tue, 26 Nov 2019 20:49:11 +0100") X-SES-Outgoing: 2019.11.27-54.240.8.87 Feedback-ID: 1.us-east-1.txOs6RzEvQ8hCXYeLqJ8lVjB3e7LuQl8h6pdq90PbRQ=:AmazonSES X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 54.240.8.87 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 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" Xref: news.gmane.org gmane.emacs.help:121898 Archived-At: Dan =C4=8Cerm=C3=A1k writes: >> I must use Maven, Java and JavaFX. >> >> I see there are lot of solutions and it's a little =C2=A0bit confusing I >> use Java in an academic environment so I =C2=A0need have indentation, au= to >> completion and snippets for Java and maven. > I would suggest to take a look at lsp-mode > (https://github.com/emacs-lsp/lsp-mode) and lsp-java > (https://github.com/emacs-lsp/lsp-java). This works very well for me. The only thing is that you need to configure LSP server for Java yourself. There are many options for that but the one that I use is *eclipse.jdt.ls* (git@github.com:eclipse/eclipse.jdt.ls.git). Once you build it then set this (setq lsp-java-server-install-dir (expand-file-name "/eclipse.jdt.ls/org.eclipse.jdt.ls.product/target/repository/")) Regards, --=20 Pankaj Jangid