# 使用 Homebrew, apk, scoop 安装 jdtls

查看 jdtls 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

## 安装

```sh
sudo av install brew:jdtls
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install jdtls
```

  证据: local Homebrew formula metadata

### Linux

- apk (92%):

```sh
sudo apk add jdtls
```

  证据: Alpine Linux edge package indexes: jdtls from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

### Windows

- Scoop (92%):

```sh
scoop install main/jdtls
```

  证据: Scoop official bucket manifest trees: bucket/jdtls.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

## 软件包事实

- **软件包键:** brew:jdtls
- **软件包管理器:** Homebrew
- **版本:** 1.60.0
- **来源摘要:** Java language specific implementation of the Language Server Protocol
- **主页:** <https://github.com/eclipse-jdtls/eclipse.jdt.ls>
- **最后更新:** 2026-06-27T07:47:47Z
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- jdtls (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 1.60.0
## 项目历史与用法

Eclipse JDT Language Server is the Eclipse Java tooling stack adapted to the Language Server Protocol. Its README describes a Java-specific language server based on Eclipse LSP4J, Eclipse JDT, M2Eclipse, and Buildship.

### 项目历史

The Eclipse proposal for JDT Language Server was filed on August 22, 2016. It framed LSP as a way to make Java tooling work across editors with otherwise incompatible extension systems, and it identified an earlier GitHub project, gorkem/java-language-server, as the initial contribution.

The Eclipse project page records the project under Eclipse JDT and lists releases beginning with 1.0 on April 7, 2021. The GitHub repository and CHANGELOG then show regular feature, bug-fix, dependency, and Java-version support work across the 1.x series.

### 采用历史

JDT LS gained adoption by letting editors consume Eclipse-grade Java services through LSP instead of embedding the Eclipse IDE. The proposal named Codenvy, Microsoft, IBM, and Red Hat as interested parties, and the README says the server can be used with any editor that supports the protocol.

Package managers made that workflow easier for terminal and editor users: the batch input records Homebrew, Alpine, and Scoop packages, and Homebrew exposes a jdtls formula for macOS and Linux installs.

### 使用方式

The language server is used by Java-aware editors to provide project import, diagnostics, completion, Javadoc hovers, code actions, navigation, formatting, code lenses, hierarchy views, and Maven or Gradle project support.

### 为什么软件包爱好者会关心

JDT LS is important in package-manager culture because it turns a large IDE subsystem into an installable background service. A single jdtls package can wire Eclipse JDT into Neovim, Emacs, VS Code-derived clients, and other LSP front ends without packaging a whole Java IDE.

### 时间线

- 2016: Eclipse proposal created for JDT Language Server.
- 2016: Proposal cited gorkem/java-language-server as the initial contribution.
- 2021: Eclipse project page records release 1.0 on April 7.
- 2025: Eclipse project page records frequent 1.x releases through the year.
- 2026: CHANGELOG records 1.60.0 with Javadoc quick-fix work and dependency maintenance.

### Related projects

- Related projects include Eclipse LSP4J for Java LSP bindings, Eclipse JDT for Java language intelligence, M2Eclipse for Maven support, Buildship for Gradle support, and the Eclipse Che and Orion projects named in the original proposal.

### 来源

- <https://formulae.brew.sh/formula/jdtls>
- <https://github.com/eclipse-jdtls/eclipse.jdt.ls>
- <https://github.com/eclipse-jdtls/eclipse.jdt.ls/blob/master/CHANGELOG.md>
- <https://github.com/eclipse-jdtls/eclipse.jdt.ls/blob/master/README.md>
- <https://projects.eclipse.org/projects/eclipse.jdt.ls>
- <https://projects.eclipse.org/proposals/jdt-language-server>


## 安全说明

broad file, network, media, or database tool signal.

- **Geiger 风险:** blue / 中
- broad file, network, media, or database tool signal

## 其他软件包管理器记录

- apk - jdtls - 1.58.0-r0: normalized package name match | Alpine Linux edge package indexes: jdtls from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Eclipse Java language server | https://github.com/eclipse/eclipse.jdt.ls
- Scoop - main/jdtls: normalized package name match | Scoop official bucket manifest trees: bucket/jdtls.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1


## Combined YAML source

View the package source record on GitHub. [combined/jdtls.yml](https://github.com/mxcl/pkgdb/blob/main/combined/jdtls.yml)


## 来源

- pkg.so package database
- Geiger risk classifier
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
