# 使用 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
- **软件包管理器页面:** <https://formulae.brew.sh/formula/jdtls>
- **版本:** 1.60.0
- **来源摘要:** Java language specific implementation of the Language Server Protocol
- **主页:** <https://github.com/eclipse-jdtls/eclipse.jdt.ls>
- **仓库:** <https://github.com/eclipse-jdtls/eclipse.jdt.ls>
- **许可证:** EPL-2.0
- **源码归档:** <https://www.eclipse.org/downloads/download.php?file=/jdtls/milestones/1.60.0/jdt-language-server-1.60.0-202606262232.tar.gz>
- **最后更新:** 2026-06-27T07:47:47Z
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- jdtls (cli)
- jdtls (别名)

## 依赖

- openjdk
- python@3.14

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 all

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 1.60.0
- 管理器更新时间: 2026-06-27
- 本地数据: OK
- 上游仓库: https://github.com/eclipse-jdtls/eclipse.jdt.ls
- 信息: No cached GitHub release or tag data was available.
## 项目历史与用法

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

## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** jdtls
- **Version Scheme:** 1
- **Revision:** 0
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable

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

- 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


## 相关链接

- [Source-control packages](https://pkg.so/zh-hans/source-control-tools/) - Belongs to a source-control command family.
- [Secret-risk packages](https://pkg.so/zh-hans/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://pkg.so/zh-hans/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://pkg.so/zh-hans/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [python@3.14](https://pkg.so/zh-hans/brew/python-3-14/) - Runtime dependency declared by Homebrew.
- [openjdk](https://pkg.so/zh-hans/brew/openjdk/) - Runtime dependency declared by Homebrew.
- [lua-language-server](https://pkg.so/zh-hans/brew/lua-language-server/) - Shares pkgdb curated category or tags: cli, developer-tools, language-server, lsp.
- [gopls](https://pkg.so/zh-hans/brew/gopls/) - Shares pkgdb curated category or tags: cli, developer-tools, language-server, lsp.
- [python-lsp-server](https://pkg.so/zh-hans/brew/python-lsp-server/) - Shares pkgdb curated category or tags: cli, developer-tools, language-server, lsp.
- [typescript-language-server](https://pkg.so/zh-hans/brew/typescript-language-server/) - Shares pkgdb curated category or tags: cli, developer-tools, language-server, lsp.
- [marksman](https://pkg.so/zh-hans/brew/marksman/) - Shares pkgdb curated category or tags: cli, developer-tools, language-server, lsp.
- [tombi](https://pkg.so/zh-hans/brew/tombi/) - Shares pkgdb curated category or tags: cli, developer-tools, language-server, lsp.
- [terraform-ls](https://pkg.so/zh-hans/brew/terraform-ls/) - Shares pkgdb curated category or tags: cli, developer-tools, language-server, lsp.
- [tinymist](https://pkg.so/zh-hans/brew/tinymist/) - Shares pkgdb curated category or tags: cli, developer-tools, language-server, lsp.
- [cmake-language-server](https://pkg.so/zh-hans/brew/cmake-language-server/) - Both packages touch the same language runtime or ecosystem. Shared terms: cli, developer, developer-tools, language, language-server.
- [esbonio](https://pkg.so/zh-hans/brew/esbonio/) - Both packages touch the same language runtime or ecosystem. Shared terms: cli, developer, developer-tools, language, language-server.

## 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
- package-page enrichment
- curated package history
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
