-
Notifications
You must be signed in to change notification settings - Fork 2
Using
Konstantin edited this page Feb 2, 2023
·
4 revisions
To run, you need Java version 17 and higher
You can download an artifact from Github Actions.
- Clone project:
git clone https://github.com/isKONSTANTIN/CryptoUtils
- Go to project root:
cd CryptoUtils
- Run gradle:
./gradlew build
After the "BUILD SUCCESSFUL" message, the jar file is available at the build/libs path:
$ cd build/libs
$ ls
CryptoUtils-0.2.1.jar
To start, just run java with the -jar parameter:
$ java -jar CryptoUtils-0.2.1.jar
If you see the error "java.lang.UnsupportedClassVersionError" you should change the JVM version to a newer one in the system or run directly from the desired version (for example, 19):
$ /usr/lib/jvm/java-19-openjdk/bin/java -jar CryptoUtils-0.2.1.jar
After launching the program, you will immediately see a list of commands. Some of them are described in more detail here