GUI tool to scan and switch between local Java versions on Linux.
chmod +x java-switcher.sh
./java-switcher.shOne-click: auto-compiles (if needed) and launches the GUI. Select a version and click "Apply".
- Scans
/usr/lib/jvm, sdkman candidates, and other common Java paths - Shows all found versions with radio buttons
- Marks the current version in green
- Updates
JAVA_HOMEin~/.profileand sdkmancurrentsymlink
- Any JDK 17+ to run the GUI (auto-detected from sdkman or PATH)
- Linux with Swing/GUI environment
