I know that if I reinstall JDK it may work.I think reinstalling the JDK is not the only solution.first I want to know which program(the file from bin derectory eg.java,javac,javaw,jar...) is responsible to executing JAR files.,but I have tried opening the JAR file with
java,javaw,jar, but it does not working.If any any other option is left then suggest me,because if I give my JAR files to my friends and JRE is installed in their PC but they couldn't run my apps then it is not fair to tell them to install JRE
again and again tiil it work.
In my PC if I execute The JAR file in command prompt it works:-
D:\>java -jar DigWatch.jar
Thanks Sagar,Campbell,Rob and Joanne !!!
[ July 25, 2008: Message edited by: Ashok Pradhan ]