How to use Jabba, the JDK manager, On Windows ?

Java Conceptuel Diagram

About

jabba1) is JDK manager that permits to install and switch from JDK

Steps

Install

The installation is done via a powsershell script.

[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
Invoke-Expression (
  Invoke-WebRequest https://github.com/shyiko/jabba/raw/master/install.ps1 -UseBasicParsing
).Content

Jabba is installed in your windows home: C:\Users\userName\.jabba

Usage

For now, you will not find jabba in a dos shell, you need to use powsershell.

How to install a known JDK?

  • List all known JDK
jabba ls-remote
jabba install [email protected]

How to install an unknown JDK?

All JDK are declared in the index.json file. If they are not present, you can still install them with an url.

Example with the last GraalVm Release

jabba install [email protected]=zip+https://github.com/graalvm/graalvm-ce-builds/releases/download/vm-22.3.2/graalvm-ce-java11-windows-amd64-22.3.2.zip

How to switch?

  • List the installed Jdk
jabba ls
  • Switch
jabba use [email protected]





Discover More
Java Conceptuel Diagram
Java - Java Development Kit (JDK)

The JDK is a SDK that: embeds a JRE and includes development tools and libraries (to create and compile Java applications) The JDK is also known as: Software Development Kit (J2SE SDK) A JDK...



Share this page:
Follow us:
Task Runner