- JDK 21: Install using SDKMAN if you are on Linux.
- GraalVM Native-Image: Refer to the GraalVM Native-Image section to build a native application.
./gradlew shadowJar
sudo cp build/libs/jfiglol-*-all.jar /bin/jfiglol.jar
echo "alias jfiglol='java -jar /bin/jfiglol.jar' $@" >> ~/.bashrc # or replace with '.your_shellrc_file'
- Use the file named
jfiglol
. For convenience, copy it to/usr/bin/
.
./jfiglol "Your text here"
# Don't forget to use quotes if your text contains spaces.
./jfiglol "Some text" -a
# To animate the text.
./jfiglol "Hello, world!" -a -t /path/to/font.flf
# To specify a font file.
- Java GraalVM 21: Installation Guide. You can also use SDKMAN for Linux.
- Native-Image: Installation Guide.
- Using Gradle:
./gradlew nativeBuild
cd build/native/nativeCompile
./jfiglol "Hello, world!" -a