https://github.com/jmsdaq/jdk-version-manager
Batch scripts for easy JDK version switching on Windows and MacOS
https://github.com/jmsdaq/jdk-version-manager
Last synced: 3 months ago
JSON representation
Batch scripts for easy JDK version switching on Windows and MacOS
- Host: GitHub
- URL: https://github.com/jmsdaq/jdk-version-manager
- Owner: jmsdaq
- Created: 2024-10-16T02:52:18.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-11-12T09:13:28.000Z (over 1 year ago)
- Last Synced: 2025-02-17T15:21:20.633Z (over 1 year ago)
- Language: Batchfile
- Homepage:
- Size: 7.81 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# JDK Manager for Mac and Windows
This guide provides instructions and a simple script to manage multiple JDK installations on Mac and Windows. This JDK Manager script allows you to switch between different JDK versions easily from the command line.
## Features
- Quickly switch between JDK versions
- Support for both macOS and Windows
## Requirements
- Ensure you have multiple JDK versions installed.
- Know the path where JDKs are installed:
- Mac: Typically under `/Library/Java/JavaVirtualMachines`
- Windows: Typically under `C:\Program Files\Java`
## Notes
- Mac: The find command locates the appropriate JDK folder. Customize the JAVA_HOME_PATH if your JDKs are installed elsewhere.
- Windows: The script uses a for loop to find the right JDK directory. Modify JAVA_HOME_PATH if needed.