Skip to content

Does elin require java? #53

@knalasol

Description

@knalasol

When I try to run ./bin/elin --help or the bb command to debug suggested at #42, I get an error of
Exception in thread "main" java.lang.Exception: Couldn't find 'java'. Please set JAVA_HOME.
which leaves me to wonder: does elin require java? The repo page says that I only need Neovim and Babashka.

When I open a bb file, I get a Failed connecting to Elin server: port=#####, error= error.
I also seem to fail to connect silently if I call :ElinInstantConnect babashka or :ElinConnect [n] where n is the port provided by bb nrepl-server.

To Reproduce
Install elin with vim.pack on neovim nightly, having babashka installed but not clojure nor java, and run elin --help

Expected behavior
no error, elin connecting to repl server

Environemnt:
Arch Linux
Neovim v0.12.0-dev-### (nightly)
Babashka v1.12.215

Configuration file (if you have):
N/A

Project local configuration:
N/A
(I am trying to use elin within a standalone babashka executable as described in documentation section 2.3)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions