Automic VaultAutomic Vault

brew

Install jenv with Homebrew, MacPorts, pacman, scoop

Manage your Java environment. Version 0.6.0 via Homebrew; verified from local package data.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install jenv

local Homebrew formula metadata

MacPortsverified · 94%
sudo port install jenv

MacPorts ports tree · java/jenv/Portfile · source: api.github.com

Windows

Scoopverified · 92%
scoop install extras/jenv

Scoop official bucket manifest trees · bucket/jenv.json · source: api.github.com

overview

Package summary

Manage your Java environment

Commands and aliases

  • jenv

history

Project history and usage

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.

Project history

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.

Adoption history

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.

How it is used

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.

Why package nerds care

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.

Timeline

  • 2013: Public GitHub repository created for jenv/jenv.
  • 2020: GitHub release 0.5.3 appears in the release stream.
  • 2025: GitHub release 0.6.0 records shim, install, and shell-support maintenance.

Related projects

  • The README explicitly traces jenv's style to rbenv. It also sits beside Homebrew, MacPorts, SDKMAN-style Java installers, and vendor OpenJDK packages rather than replacing them.

security posture

Risk level: green

narrow executable package without higher-risk signals.

Risk classifier

green risk · low confidence · appliance

Why

  • narrow executable package without higher-risk signals

Signals

  • metadata:no-higher-risk-signals

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 1 platform targets.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

local files

Configuration and credential file locations

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.

Configuration files

Config paths the tool may read or write during local use.

Unix
./.java-version

executables

Installed executables

CommandKindExposureNote
jenvcliglobal executable

freshness

Version and freshness

These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.

page generated2026-07-08
manager version0.6.0
manager updated
local dataok
upstreamcurrent
latest detected0.6.0

https://github.com/jenv/jenv

  • infoNo package-manager update timestamp was available.low confidence

install metadata

Package metadata

Package keybrew:jenv
Version0.6.0
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/jenv
Homepagehttps://github.com/jenv/jenv
Repositoryhttps://github.com/jenv/jenv
Upstream docshttps://github.com/jenv/jenv#readme
LicenseMIT
Source archivehttps://github.com/jenv/jenv/archive/refs/tags/0.6.0.tar.gz
Bottleavailable (on all)
Homebrew post-installnot defined
Servicenone declared
CaveatsTo activate jenv, add the following to your shell profile e.g. ~/.profile or ~/.zshrc: export PATH="$HOME/.jenv/bin:$PATH" eval "$(jenv init -)"

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namejenv
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

pacman95%

jenv 0.6.0-1

Manage your Java environment

https://github.com/jenv/jenv

sudo pacman -S jenv
  • License: MIT
  • Architecture: any
  • 1 dependencies
  • 3 optional deps
  • normalized package name match
  • Matched by: Jenv
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: jenv from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
MacPorts95%

jenv

sudo port install jenv
  • normalized package name match
  • Matched by: Jenv
MacPorts ports tree · api.github.com · MacPorts ports tree: java/jenv/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
Scoop95%

extras/jenv

scoop install extras/jenv
  • normalized package name match
  • Matched by: Jenv
Scoop official bucket manifest trees · api.github.com · Scoop official bucket manifest trees: bucket/jenv.json from https://api.github.com/repos/ScoopInstaller/Extras/git/trees/master?recursive=1

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated configuration and credential file locations
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment