apache / apache/netbeans

Unrecognized option --start-java-language-server=stdio

Open
#7,114 1 comment 2 reactions 0 assignees View on GitHub
kind:bug LSP needs:triage
Dominant language
Java
Stars
3.1k
Forks
935
Avg merge
2d 3h
Merged PRs (30d)
17

Description

### Apache NetBeans version

Apache NetBeans 21

### What happened

I'm trying to start java.lsp.server for using with nvim. `bin/netbeans -h` says
```
Additional module options:
--start-java-language-server [] Starts the Java Language Server
```
but when I'm trying `bin/netbeans --start-java-language-server=stdio` or `bin/netbeans --modules --start-java-language-server=stdio`I get exception
```
Unrecognized option --start-java-language-server=stdio
```

### Language / Project Type / NetBeans Component

LSP

### How to reproduce

run `bin/netbeans --modules --start-java-language-server=stdio`

### Did this work correctly in an earlier version?

No / Don't know

### Operating System

Fedora 39

### JDK

openjdk 21

### Apache NetBeans packaging

Apache NetBeans binary zip

### Anything else

_No response_

### Are you willing to submit a pull request?

No

Contributor guide

Open the contributing guide

Research direction

Start with the bin/netbeans entry point and compare the documented --start-java-language-server option from `bin/netbeans -h` with how command-line options are parsed. Reproduce `bin/netbeans --modules --start-java-language-server=stdio`; done means the documented stdio invocation is accepted without the unrecognized-option exception.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
devtools
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.