Add another way to load native libraries

This commit is contained in:
Mikhail Lobotskiy
2024-07-30 11:36:47 +04:00
parent 8b2d7035c1
commit 88b1660735
8 changed files with 24 additions and 18 deletions

View File

@ -5,8 +5,6 @@ public class Program {
String workDirectory = "C:/Program Files/ONLYOFFICE/DocumentBuilder";
String resultPath = "result.docx";
docbuilder.utils.Utils.addToPath(workDirectory);
test(workDirectory, resultPath);
// Need to explicitly call System.gc() because finalizers might not automatically get called