Questions tagged [java]

Java is a programming language. Use this tag for all questions on how to use emacs to work with Java code.

Java is a set of computer software and specifications developed by James Gosling at Sun Microsystems. It has a run-once run-anywhere philosophy, where programs do not need recompilation on other systems. It is used for writing Android apps, Business servers, and more. Use this tag for emacs-related Java questions.

56 questions
6
votes
1 answer

Simple JDEE Setup for Existing Java Project

I imagine most developers, like myself, starting out with JDEE are beginning with source code that is already written as opposed to a new empty project. What I'm asking for is a simple explanation of how to get JDEE set up for an existing Java…
3
votes
0 answers

Java dependency injection

I develop Java programs in Emacs occasionally, and adding a dependency to a dependency-injected class is a common action. For example, imagine adding the dependency Qux to the following class: // import statements here public class Foo { private…
Matthew Piziak
  • 6,038
  • 3
  • 31
  • 79
2
votes
1 answer

Java development on Emacs?

Is is exist good package for java development on Emacs? Good... I mean to support: Debugging Code formatting Code Highlighting Help context Maven support Gradle support and many others things
a_subscriber
  • 4,062
  • 1
  • 18
  • 56
2
votes
2 answers

Are there any tutorials/documentation for lsp-java?

I have managed to install lsp-java according to their git Readme (https://github.com/emacs-lsp/lsp-java) and created my workspace. Is there a better way (eg. in form of a documentation or tutorial) to get to known with lsp-java or do I have to try…
topkek
  • 89
  • 1
  • 7
2
votes
3 answers

LIGHTWEIGHT Java Environment (not JDEE)

Is there a lightweight Java environment for EMACS? I have used JDEE in the past, but it's accumulated a lot of, ahem, features since I used it last, and just trying to set it up has consumed a couple hours.
Charlie Martin
  • 349
  • 1
  • 10
2
votes
1 answer

setting JDEE-server in emacs?

i've installed jdee from package-list it was elpa i think .. color highlight and indentation are working fine . but when i run any command ( JDEE commands ) i get this message : Customize ‘jdee-server-dir’ to point to dir with JDEE jars. See …
melbx
  • 121
  • 4
2
votes
0 answers

JDEE can not detect multi file

I have two files A.java (base class) and B.java (class). The class B succeed A. In file B.java, I compiled by C-c C-v C-c, then it can not detect file A.java with error message: cannot find symbol But it works well in compiling manually in…
1
vote
1 answer

How to write evaluate java coding in Emacs file?

I am new to Emacs and I want to use org-mode to summarize the coding exercise and key points while learning Java. I am currently using IntelliJ to evaluate algorithmic coding questions I did on Leetcode and because they are usually lightweight, I…
JoZ
  • 131
  • 4
1
vote
1 answer

JDEE runs maven all the time

I am opening a Java source file which is part of a maven project. JDEE now runs maven once, which I can sort of understand. But whenever I move around in the file, it will trigger once more. Since it always splits my frame, and blocks Emacs, this is…
Arne
  • 409
  • 3
  • 12
0
votes
1 answer

Where is the *meghanada-server-log*

I recently installed meghanada-mode from melpa to help with some Java I am writing. Mostly I like it. However, it has started showing the following messages (in my *Messages* buffer): Error:jetbrains.exodus.ExodusException: . Please check…
intel_chris
  • 329
  • 2
  • 12