Git Product home page Git Product logo

jdk_script's Introduction

JDK_Script

This repository contains a Windows batch script for switching between different JDK versions directly from the command line. It simplifies the process of managing multiple Java Development Kits on your system.

Prerequisites

Before using the scripts, ensure you have multiple versions of the JDK installed on your Windows machine.

Installation

To use the script from the command line, follow these steps to add the scripts' folder to your environment variables:

  1. Open the Start Search, type in Environment Variables, and select Edit the system environment variables.
  2. In the System Properties window, click on the Environment Variables button.
  3. Under the System variables section, scroll down and select the Path variable, then click Edit.
  4. In the Edit Environment Variable window, click New and add the path to the folder that contains the scripts.
  5. Click OK on all windows to apply the changes.

Usage

Once the setup is complete, you can easily switch between JDK versions by opening Command Prompt (CMD) and typing JDK followed by the version number you wish to activate. For example:

  • To switch to JDK 8, type JDK8.
  • To switch to JDK 11, type JDK11.

Replace "8" and "11" with the version number you need to switch to, based on the JDK versions you have installed.

Contributing

Feel free to fork this repository and submit pull requests to contribute to its development. For major changes, please open an issue first to discuss what you would like to change.

License

Distributed under the MIT License. See LICENSE for more information.

Acknowledgments

  • This script was inspired by the need to easily switch between multiple JDK versions for various development projects.

Visit the repository: JDK_Script for more information and updates.

jdk_script's People

Contributors

root046 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.