JEnv Logo

Java Environment Manager Java 环境管理器

300ms Scan 300ms扫描 <1s Switch <1s切换 Cross-Platform 跨平台支持 Ultra Light 超轻量级

Cross-platform Java version manager with lightning-fast scanning (300ms) and instant switching (<1s) 跨平台Java版本管理器,支持闪电扫描(300ms)瞬间切换(<1秒)

300ms
C:/ Scan (D5) C:/扫描(深度5)
< 1s
Switch Time 切换时间
< 10MB
Memory 内存占用
3+
Platforms 支持平台

Key Features 核心特性

⚡ Lightning-Fast Switching ⚡ 闪电般快速切换

< 1 second
vs 30s manual switching 对比手动切换30秒

Revolutionary symbolic link technology eliminates PATH modifications, delivering instant JDK switching with zero downtime. 革命性的符号链接技术无需修改PATH,实现零停机时间的即时JDK切换。

🌍 Cross-Platform Engine 🌍 跨平台引擎

3+ Platforms
Windows • Linux • macOS Windows • Linux • macOS

Universal Java version management across all major operating systems with platform-specific optimizations. 跨所有主流操作系统的通用Java版本管理,具有平台特定的优化。

🔍 Lightning-Fast Scanner 🔍 闪电扫描引擎

300ms
C:/ scan depth-5 C:/扫描深度5

Advanced filesystem scanning algorithms can scan entire C: drive with 5-level depth in just 300ms. 先进的文件系统扫描算法,可在300毫秒内扫描整个C:盘5层深度。

See JEnv in Action JEnv 功能演示

Watch how JEnv switches between Java versions instantly, compared to traditional manual methods 观看JEnv如何瞬间切换Java版本,与传统手动方法形成鲜明对比

< 1 Second Switch < 1秒切换
JEnv - Java Environment Manager
JEnv Demo
Minimal RAM Usage 最小内存占用

Instant Switching 即时切换

No waiting, no downtime 无等待,无停机时间

Symlink Technology 符号链接技术

Smart path management 智能路径管理

Windows Native Windows 原生

Built for Windows users 专为Windows用户打造

Quick Start 快速开始

Basic Commands 基础命令

Check version and help information 查看版本和帮助信息

jenv --version
jenv --help

Environment Setup 环境配置

Configure system PATH and appearance 配置系统路径和外观

jenv path
jenv theme light
jenv theme dark

JDK Management JDK 管理

Add, remove and manage JDK versions 添加、删除和管理 JDK 版本

jenv add jdk8 "C:\Program Files\Java\jdk1.8.0_291"
jenv remove jdk8 
jenv list   
jenv scan c:\
jenv current

Version Switching 版本切换

Switch between different JDK versions 在不同的 JDK 版本间切换

jenv use jdk8
jenv use jdk11

Performance Benchmarks 性能基准测试

Scan Speed 扫描速度

300ms

C:/ drive depth-5 scanning C:/盘5层深度扫描

Switch Speed 切换速度

< 1s

Lightning fast version switching 闪电般快速的版本切换

Memory Usage 内存占用

< 10MB

Minimal resource footprint 极低的资源占用

Cross-Platform 跨平台支持

3+

Windows, Linux, macOS Windows、Linux、macOS

Detailed Performance Comparison 详细性能对比

Metric 指标 JEnv Manual Method 手动方式 Other Tools 其他工具
Scan Speed (C:/ Depth-5) 扫描速度 (C:/深度5) 300ms 10-30s 2-5s
Version Switch Time 版本切换时间 < 1s ~30s 5-10s
Cross-Platform Support 跨平台支持
Memory Usage 内存占用 < 10MB N/A 20-50MB
Setup Complexity 设置复杂度 Easy Complex Moderate

Why Choose JEnv? 为什么选择 JEnv?

Features JEnv Others
Windows Optimization
Symlink Technology

Installation Guide 安装指南

System Requirements 系统要求

  • Windows 10/11, Linux, or macOS Windows 10/11、Linux 或 macOS
  • Administrator privileges (Windows) 管理员权限 (Windows)
  • At least one JDK installed 至少安装一个 JDK

Installation Steps 安装步骤

FAQ 常见问题

How does JEnv work? JEnv 是如何工作的?

JEnv uses symbolic links to manage multiple Java versions efficiently. When you switch versions, JEnv updates the symlink to point to the desired JDK installation. JEnv 使用符号链接高效管理多个 Java 版本。当切换版本时,JEnv 会更新符号链接指向所需的 JDK 安装目录。

Do I need to uninstall existing JDKs? 我需要卸载现有的 JDK 吗?

No, JEnv works with your existing JDK installations. You can keep all your JDK versions and switch between them seamlessly. 不需要,JEnv 可以与现有的 JDK 安装共存。您可以保留所有 JDK 版本而无缝切换。

Community & Contribution 社区与贡献

JEnv is an open-source project and welcomes contributions from the community. Whether it's bug reports, feature requests, or code contributions, every bit helps! JEnv 是一个开源项目,欢迎社区贡献。无论是报告错误、功能请求还是代码贡献,都能帮助项目变得更好!