https://github.com/TonimatasDEV-Storage/JavaCLI
This is a simple tool to run specific Java version.
https://github.com/TonimatasDEV-Storage/JavaCLI
Last synced: 8 months ago
JSON representation
This is a simple tool to run specific Java version.
- Host: GitHub
- URL: https://github.com/TonimatasDEV-Storage/JavaCLI
- Owner: TonimatasDEV
- Created: 2024-10-16T16:28:33.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2024-10-16T16:55:51.000Z (over 1 year ago)
- Last Synced: 2024-12-15T22:26:26.565Z (over 1 year ago)
- Language: Go
- Homepage:
- Size: 4.88 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# JavaCLI
It is a simple program to run specific java version.
## Installation
1. [Download](https://github.com/TonimatasDEV/JavaCLI/releases/tag/1.0.0)
or [compile](https://github.com/TonimatasDEV/JavaCLI/tree/master?tab=readme-ov-file#how-to-compile) this repo.
2. Put it anywhere and add it to `Environment Variables`.
## Commands
#### javacli
- Example: javacli
- Description: Help command
#### javacli -
- Example: javacli -8 -jar X.jar
- Description: Execute specific java version command.
#### javacli -set
- Example: javacli -set 8 C:/Users/x/.jdks/temurin8/java.exe
- Description: Set the path of a specific java version.
#### javacli -download (Unfinished)
- Example: javacli -download 8
- Description: Download and set a java version.
## How to compile
1. Install go 1.23.
2. Run `go build` in the source folder.
3. In the same folder is the JavaCLI.exe.