I have two questions regarding property files. Hope you will answer these questions. I have searched thoroughly and havent been able to find the solution.
I have all my java packages in a directory. I run the project from the command line prompt by assigning a property like java -d key=value class
But i now want to create a jar executable file. How do i accomplish this? Do i need to create a property file? If so how to do that and read that file so that the property is assigned when executin the project.
I want to put a property file in a jar file and read it from the source file.Do i need to use class.getResourceStream() for that. I am throughly confused here.
Kindly help me,
Thanks a lot for your 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