How to make a JAR file that includes DLL files?

前端 未结 2 624
南旧
南旧 2020-11-22 15:29

I bought a third-party Java library which includes a JAR file and two DLL files. I wrote my own Java program which invoke the third-party JAR file. Now my question is

2条回答
  •  迷失自我
    2020-11-22 15:40

    Use http://www.jdotsoft.com/JarClassLoader.php which could load DLLs and JARs from another JAR with unlimited nesting. For example, DLL could be in JAR which is in another root JAR. All DLLs and JARs are loaded like they are in a classpath or library path.

提交回复
热议问题