How to deploy Java Communications API
-
21-09-2019 - |
Question
I've been developing a java application with the eclipse RCP which requires the Java Communications API. Now as the javax.comm has to be setup first (install javax.comm.properties, win32comm.dll and comm.jar) my question ist: How should I deploy my application to make sure javax.comm will be setup on the user's machine? Should I provide an installer which does the setup or should I let the application itself export the files in their respective directories?
I have never before done such a thing, so I'd appreciate any help.
Thanks
OTHER TIPS
How would you like to distribute your application? As a JAR, I assume? In this case you need to setup the JAR's manifest.mf
file with a Class-Path
entry which contains semicolonseparated relative paths to the desired resources (relative from the JAR file itself on). You can distribute your application with the javax.comm
stuff included and if necessary write a readme.txt
with installation instructions.