Why does my jar not reflect changes?
I have a spooky issue.
I have downloaded the XBee API, which comes packaged in a jar and with source. I would like to make some changes to the library, recompile it, repackage it into a jar, and use the modified library.
I have made changes to the library using NetBeans, deleted the old jar, and used NetBeans to generate a new jar. However, when I run the program, th开发者_StackOverflowe changes that I've made do not execute (frustrated, I put a call to System.exit(0) in the constructor of the main XBee object as a sort of catchall test whether my changes work).
I have also checked the java.library.path variable and made certain that there are no other copies of the XBee jar in any of the directories.
Why does the jar not reflect my changes?? Any ideas are welcome. Thanks, John
Go to the directory, where your jar is and start it with
java -jar XBee jar
Does it work?
精彩评论