The elegant, lightweight JDK Manager for Windows, Linux & macOS
Project description
☕ CoffeeBar
The elegant, lightweight JDK Manager for Windows, Linux & macOS.
CoffeeBar allows you to switch between Java versions instantly, download new JDKs directly from Eclipse Adoptium, and manage your environment variables with style.
✨ Features
- ⚡ Instant Switching: Change your
JAVA_HOMEandPathin seconds. - 📥 Integrated Downloader: Download and install LTS JDKs (8, 11, 17, 21) directly from the app (powered by Eclipse Adoptium).
- Auto-detects Apple Silicon (M1/M2/M3) vs Intel.
- 🚀 Smart Shell Refresh:
- Windows: Updates current session via
refreshenv(CMD/PS). - Linux/macOS: Updates configuration via
.bashrc/.zshrcintegration.
- Windows: Updates current session via
- 🎨 Dual Interface:
- GUI: A beautiful "Dark Mode" graphical interface built with CustomTkinter.
- CLI: A robust command-line tool for power users.
- 🔍 Auto-Discovery: Automatically finds JDKs in
Program Files,.jdks(IntelliJ),/usr/lib/jvm,/Library/Java/JavaVirtualMachines(macOS), etc.
🛠️ Installation
🪟 Windows
- Prerequisites: Python 3 installed.
- Run
install.bat.
🐧 Linux / 🍎 macOS
- Prerequisites: Python 3 installed.
- Install
python3-tkinter(Linux only, usually included in macOS/Windows).- Debian/Ubuntu:
sudo apt-get install python3-tk
- Debian/Ubuntu:
- Run the installer:
chmod +x install.sh
./install.sh
Post-Install (Linux/Mac): Restart terminal or run source ~/.bashrc (or .zshrc).
📖 Usage
Once installed, use the coffeebar command globally.
💻 CLI Mode
| Action | Command | Description |
|---|---|---|
| List JDKs | coffeebar list |
List available versions found in system paths. |
| Switch | coffeebar use 17 |
Switch JAVA_HOME (supports partial names). |
| Install | coffeebar install 21 |
Download LTS JDK from Adoptium. |
| Current | coffeebar current |
Show active JDK. |
| GUI | coffeebar |
Launch graphical interface. |
Example:
$ coffeebar use 17
Set JAVA_HOME to /usr/lib/jvm/temurin-17
[CoffeeBar] Environment updated.
🖥️ GUI Mode
Simply run coffeebar (or python3 -m src.main).
- Cross-platform: Looks native on Windows, Linux (Gnome/KDE), and macOS.
- One-Click Install: Downloads the correct
.tar.gzor.zipfor your OS and Architecture.
⚙️ How it works
- Windows: Modifies
HKCU\Environmentand broadcasts changes. - Linux/macOS: Manages a lightweight file
~/.coffeebar_envwhich is sourced by your shell configuration and uses simple shell aliases.
Made with ❤️ for developers.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file coffeebar_jdk-1.0.0.tar.gz.
File metadata
- Download URL: coffeebar_jdk-1.0.0.tar.gz
- Upload date:
- Size: 14.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b2acbb35505de0a51ce6ca524697ea7e3751e3c0b3cf757958fa85185b71535c
|
|
| MD5 |
d6d598bb7cc7476600501c11cbe94181
|
|
| BLAKE2b-256 |
cbca167a38b69b4b6bb110a31d10b1625dc5c766f4d31c2488f8c623993d4160
|
File details
Details for the file coffeebar_jdk-1.0.0-py3-none-any.whl.
File metadata
- Download URL: coffeebar_jdk-1.0.0-py3-none-any.whl
- Upload date:
- Size: 13.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f4505d51303f7ccc7b53ee2c963e05cbfea9b5368b7ca517a1ee6f8111c7665b
|
|
| MD5 |
187496d481c86c09bee65da4488827cf
|
|
| BLAKE2b-256 |
590e7e54a2fad6bd5fb694d7a5d532ab7b8327c16de51e18ddc9434ab9876089
|