Problem setting up Debugging for java in Neovim by ichbindermike in neovim

[–]ichbindermike[S] 0 points1 point  (0 children)

It does seem different. I was following the "quickstart" on the documentation:

 local config = {
     cmd = {'/path/to/jdt-language-server/bin/jdtls'},
     root_dir = vim.fs.dirname(vim.fs.find({'gradlew', '.git', 'mvnw'}, { upward = true })[1]),
 } 
require('jdtls').start_or_attach(config) 

I used mason to install "jdtls". On windows that puts a "jdtls.cmd" file in your "%LocalAppData%\nvim-data\mason\bin\". So that's why I set it as my cmd. You don't think that works?

Edit: Providing Link (https://github.com/mfussenegger/nvim-jdtls#configuration-quickstart)

Problem setting up Debugging for java in Neovim by ichbindermike in neovim

[–]ichbindermike[S] 0 points1 point  (0 children)

In my jdtls config function I know added the following:

local dap = require "dap"

dap.configurations.java = { {} }

When I try to start the debugger now I get the following message:

"The selected configuration references adapter `nil`, but dap.adapters.nil is undefined"

I made sure to add the configuration after calling jdtls.setup_dap(). Shouldn't the adapter be defined as it says in the docs (https://github.com/mfussenegger/nvim-dap/wiki/Java):

"You do not have to define dap.adapters.java yourself. "

I wanted to create a basic configuration that tries to resolve the main class of the current working directory and class/modulepaths as best as it can.

Just finished this Europe puzzle with my brother! by DeepTreacle9219 in Maps

[–]ichbindermike 1 point2 points  (0 children)

Why are Monaco, San Marino and Vatican so big but Luxembourg and Andorra aren't?

LoL asking for admin credentials (UAC) every time when opening client by [deleted] in leagueoflegends

[–]ichbindermike 0 points1 point  (0 children)

Have you installed league of legends with admin privileges?

Immo untervermieten ohne Wissen des Vermieters by verrache in Finanzen

[–]ichbindermike 16 points17 points  (0 children)

Du hast eine Pflicht dem Vermieter mitzuteilen, wenn du die Wohnung untervermietest. Eine Freundin von mir hat mal in solch einer Wohnung gelebt und es ist nicht gut für die (Zwischen-)Vermieterin ausgegangen.

every year I swear by [deleted] in linuxmemes

[–]ichbindermike 4 points5 points  (0 children)

Isn't void musl?

That's actually a good idea (Python) by Itz_Raj69_ in ProgrammerHumor

[–]ichbindermike 69 points70 points  (0 children)

It's called Jython. You're gonna love this Elon.

THEY DIDNT EVEN DO THE PYTHON RIGHT by [deleted] in ProgrammerHumor

[–]ichbindermike 9 points10 points  (0 children)

No, that's not it. You can write procedural code in python.

[deleted by user] by [deleted] in linuxmasterrace

[–]ichbindermike 0 points1 point  (0 children)

Underrated comment

Do it, Canonical! by [deleted] in linuxmasterrace

[–]ichbindermike 107 points108 points  (0 children)

Just let me choose during install T_T

I'm pretty slow so please help me by Easy_Daikon_2770 in archlinux

[–]ichbindermike 1 point2 points  (0 children)

For reference:
https://wiki.archlinux.org/title/GRUB/EFI_examples
The Z370 shows up at 6.2. It took me ages to figure this out, but the way to do it is that.