I am using windows 7 and java 1.6.0_22 is my default java version.
I am using a jar file which is an open source jar file (webscarab-selfcontained-20070504-1631.jar) to be act a intermediate proxy.
I am getting different behavior when executing the jar file by double clicking the jar and when executing the jar in command prompt by java -jar webscarab-selfcontained-20070504-1631.jar command.
When i hit the URL by setting the default proxy for the jar, able to get the proper response when the jar is executed by double clicking it and getting invalid response when executing the jar file with the command prompt.
Please let me know what is the difference of executing the jar file by double clicking and from command prompt...