-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
78 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,80 @@ | ||
# JEM | ||
JEM is a Java Environment Manager written in go | ||
|
||
## Installation | ||
Download the latest release from the [releases page](https://github.com/LDprg/JEM/releases) 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: | ||
```bash | ||
./jem_install | ||
``` | ||
You may need to reload the .bashrc file after installation: | ||
```bash | ||
source ~/.bashrc | ||
``` | ||
|
||
### Windows | ||
Run: | ||
```bash | ||
jem_install.exe | ||
``` | ||
|
||
## Usage | ||
```bash | ||
jem [command] [options] | ||
``` | ||
|
||
### Commands | ||
#### list | ||
```bash | ||
jem list | ||
``` | ||
Lists the current, installed and installable versions of java | ||
|
||
#### install | ||
```bash | ||
jem install [version] | ||
``` | ||
Installs the specified version of java | ||
|
||
#### use | ||
```bash | ||
jem use [version] | ||
``` | ||
Sets the current version of java | ||
|
||
#### uninstall | ||
```bash | ||
jem uninstall [version] | ||
``` | ||
Uninstalls the specified version of java | ||
|
||
## Uninstallation | ||
|
||
> Notice: This will remove all installed versions of java | ||
### Linux & Mac | ||
Run: | ||
```bash | ||
./jem_uninstall | ||
``` | ||
|
||
### Windows | ||
Run: | ||
```bash | ||
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](https://choosealicense.com/licenses/mit/) License. | ||
|
||
## Where does the java versions come from? | ||
The java versions are downloaded with [Adoptium Api](https://adoptium.net/). |