i apreciate ur response
i tried this and associate it to java.exe not javaw.exe,but it is not working.
i don't know why?it is opening for 1 second geving me message program exit and closing rapidly.
thanx for reply,
when i associate jar with javaw.exe,it is opening normally,but when i associate it with java.exe,it is opening only 1 second,and i am not seeing what is the message exactly then closing rapidly.i don't know what is the problem
That's nothing like what I suggested. You need to type
java -jar myjar.jar
where myjar.jar should be the name of your jar file
This is the same as associating .jars with java, but the window stays open for you to see the messages.