Skip to content

varun-karmikanda/JDK-Switcher

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

JDK Environment Switcher

Tired of manually editing JAVA_HOME and your PATH? This project provides simple, powerful command-line tools to discover and switch between multiple Java JDK versions on your system.

This repository contains scripts for different operating systems. Please navigate to the folder for your OS to get started.


Supported Platforms

  • Windows

    • A powerful, interactive PowerShell script for managing your JDK environment. It features automatic discovery and safe, system-wide environment variable updates.
  • Ubuntu / Linux

    • (Coming Soon!) A bash script to bring the same functionality to Linux distributions.

Core Features

This project aims to provide a consistent experience across all platforms with these key features:

  • Discover: Automatically find all JDK installations on your system.
  • Select: Interactively choose which Java version you want to activate.
  • Switch: Safely update your shell's environment variables to use the selected JDK.

Getting Started

  1. Clone this repository:

    git clone [https://github.com/your-username/JDK-Switcher.git](https://github.com/your-username/JDK-Switcher.git)
    cd JDK-Switcher
  2. Navigate to the folder for your operating system. For example, for Windows users:

    cd windows
  3. Follow the instructions in that folder's README file to set up and run the script.


Contributing

Contributions are welcome! If you'd like to help build the script for a new operating system (like Linux or macOS), please feel free to open an issue or submit a pull request.

About

A powerful command-line utility to discover, manage, and switch between multiple Java JDK versions

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published