I have a vendor-supplied integration utility written in Java. They supplied a couple of jar files and a sample class which uses those custom methods. I now need to create my own jar file of a modified version of their example, and use that in a "java aware" application.
How do I create my custom jar file? Specifically, is the name of the jar file important, and the directory structure therein?
Should my jar file incorporate the vendor-supplied jar files, or do I need to move all 3 of them together as needed.
To help illustrate:
The sample code is called "SigCaptureDemo.class". I created a jar file called "BarSign.jar", which contains that class file and a MANIFEST.MF file. If I add "BarSign.jar" to my classpath, what would my corresponding "import" statement be?
I'd like to see an example of creating a custom "Hello World" class which can be used by another application and pass it a variable for the second word. In other words, allow it to print "Hello Earth", or "Hello AnyVariable". I think that would provide me with the understanding to address my specific needs.
Thanks for any pointers. Sorry that was such a long question.
"Proof that there is intelligent life in Oregon. Well, Life anyway."