/JEM

JEM is a Java Environment Manager written in go

Primary LanguageGoGNU General Public License v3.0GPL-3.0

JEM

Publish Dev Release

JEM is a Java Environment Manager written in Go. It is a tool to manage multiple Java versions.

Installation

Download the latest release from the releases page and extract it to a folder of your choice.

Uninstall all other Java versions before installing JEM.

You will need to restart your terminal after installation in order to update your PATH.

Linux & Mac

Run:

./jem_install

You may need to reload the .bashrc file after installation:

source ~/.bashrc

Windows

Run:

jem_install.exe

Usage

jem [command] [options]

Commands

list

jem list

Lists the current, installed and installable versions of java

install

jem install [version] [jre|jdk] (default jdk)

Installs the specified version of java

use

jem use [version] [jre|jdk] (default jdk)

Sets the current version of java

uninstall

jem uninstall [version] [jre|jdk] (default jdk)

If you uninstall the current version of java, JEM will save a copy unitl you select a new version.

Uninstalls the specified version of java

Uninstallation

Notice: This will remove all installed versions of java

Linux & Mac

Run:

./jem_uninstall

Windows

Run:

jem_uninstall.exe

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

License

This projets use the MIT License.

Where does the java versions come from?

The java versions are downloaded with Adoptium Api.