How to add functionality from a JAR to an application?

I would like to add functionality from Free Spire ( to my application Just wondering how easy it is to install this whole package? It's a JAR file and I can't seem to find proper instructions on how to add this to my app. Can anyone point me to a suitable source? Almost all the links on the forum are wrong and lead to sites that don't exist
2 answers

TL;DR; the jar has no dependencies . You can just download it and put it into userlib/ . Here’s the direct link



To download a jar with all dependencies you also need to download at

and then follow

The important part is “ Have a JDK installation on your system. Either set the JAVA_HOME


You already have OpenJDK installed at C:\Program Files\AdoptOpenJDK\



Set JAVA_HOME and PATH using the dialog “Change my environment variables” (shortcut win-r,

rundll32.exe sysdm.cpl,EditEnvironmentVariables



Create an xml file, name it pom.xml

<?xml version="1.0" encoding="UTF-8"?>
<project xmlns=""











Open command prompt where pom.xml is saved and run this command: mvn package


It will download the jar and its dependencies into target\bar-0.1-SNAPSHOT\WEB-INF\lib\




Honestly? It doesn't have much to do with "low-code" :P

But of course I tried it and unfortunately it doesn't work. I tested it with mvn -v and I get the message

The JAVA_HOME environment variable is not defined correctly,
this environment variable is needed to run this program.

And it looks like it is installed correctly