help with .jar files
It seems like all of the examples and tutorials on this are extremely vague, so I thought that someone might give me specific instructions.
How do I make an executable .jar file out of my project? I have a simple program called calculator.java, located in C:\Java\calc\calculator.java. I gather that I need to make a manifest file manifest.mf, but what exactly do I need to put in it, and then what do I do? I think that I'm supposed to go to the command prompt and write somthing like:
jar cfm calc.jar , with stuff after this also
So what exactly do I do? I'm very confused that this is not easier to do in Java, it seems like there should be a simpler way of making an executable java program, like .exe's in C++, etc.
Thanks in advance for any help!
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL