hello friend I able to create a jar file in java as guidance provided by 'dirk'(thank u dirk). i can execute it in command line but find nothing on 'double click'(no error message). suggestions are welcome. thank u
Assumed you're running a kinda windows. There is a MenuOption in Explorer 'Datatypes'. Here you have to tell Windows, what you want to do, by hitting enter on a 'jar'-File. Describe '.jar'-extension as Java-Archive, and define the program to execute, someting similar to 'java -jar %*%'. Have a look at other entrys like 'html' 'doc' etc., to find out about the details.
bala, Your likely problem is that your operating system isn't properly configured to run a JAR file when double-clicking on it. If it helps, my settings for this file type are as follows. "D:\Program Files\Java\j2re1.4.2_03\bin\javaw.exe" -jar "%1" %* If you need help on configuring your system to handle files with the .jar extension differently, just ask.