macOS
brew install jenvlocal Homebrew formula metadata
sudo port install jenvMacPorts ports tree · java/jenv/Portfile · 来源: api.github.com
安装
brew install jenvlocal Homebrew formula metadata
sudo port install jenvMacPorts ports tree · java/jenv/Portfile · 来源: api.github.com
sudo pacman -S jenvArch Linux sync databases · jenv · 来源: geo.mirror.pkgbuild.com
scoop install extras/jenvScoop official bucket manifest trees · bucket/jenv.json · 来源: api.github.com
概览
Manage your Java environment
历史
jenv is a shell-oriented Java environment manager. Its README describes it as an updated fork of jenv adapted from rbenv, focused on switching Java versions and setting JAVA_HOME at global, directory-local, or per-shell scope without installing Java itself.
The public GitHub repository for jenv was created in 2013. The project documentation names Gildas Cuisinier as maintainer and frames the repository as a continuation of an earlier beloved Java environment manager rather than a from-scratch package installer.
The release stream visible on GitHub shows a compact Unix shell tool that continued to receive maintenance releases through the 0.5.x and 0.6.x series. Release notes for 0.6.0 include fixes around shim behavior, shell support, install instructions, and the addition of a command for selecting a Java version for one command invocation.
jenv became useful in Java shops because the JDK landscape is fragmented: Android, server, build, and legacy projects often require different Java majors on the same developer machine. Its README explicitly calls out Android tools using Java 8 while server applications use later releases, which explains its fit with project-local version files.
Homebrew, MacPorts, pacman, and Scoop package metadata in the input show that jenv escaped a single-source install workflow and became a cross-package-manager convenience for developers who already install JDKs through their platform tooling.
A typical jenv workflow is to install the shell hooks, add already-installed JDK homes with `jenv add`, enable the export plugin when JAVA_HOME management is desired, and use `jenv global`, `jenv local`, or `jenv shell` to select the active version. `jenv local` writes a `.java-version` file in the working tree.
jenv matters to package-manager users because it deliberately does less than SDKMAN-style installers: it manages shims and environment selection, while Homebrew or the operating system installs Java. That separation makes it a small glue package with outsized value on machines that carry several vendor and versioned JDKs.
安全态势
narrow executable package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
local files
These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.
Config paths the tool may read or write during local use.
./.java-version可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
jenv | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
安装元数据
| 软件包键 | brew:jenv |
|---|---|
| 版本 | 0.6.0 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/jenv |
| 主页 | https://github.com/jenv/jenv |
| 仓库 | https://github.com/jenv/jenv |
| 上游文档 | https://github.com/jenv/jenv#readme |
| 许可证 | MIT |
| 源码归档 | https://github.com/jenv/jenv/archive/refs/tags/0.6.0.tar.gz |
| Bottle | 可用 (于 all) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
| 注意事项 | To activate jenv, add the following to your shell profile e.g. ~/.profile or ~/.zshrc: export PATH="$HOME/.jenv/bin:$PATH" eval "$(jenv init -)" |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | jenv |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
jenv 0.6.0-1
Manage your Java environment
sudo pacman -S jenvjenv
sudo port install jenvextras/jenv
scoop install extras/jenv来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.