阅读背景:

如何将属性文件附加到jar?

来源:互联网 

I have a project that uses the serial port, and it requires two files to run, the win32.dll file (which is in the java runtime environment bin folder) and the javax.comm.properties file (which is in the java runtime environment lib folder). When I run the project from eclipse it works, but when I try to build a jar file for distribution, it won't work. I suspect this is because the dll and properties files aren't included in the jar. How do I specify that they need to be there?I have a project that uses the serial port, and




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: