Jar file is not getting executed from commandline
Hi ,
this is the weired problem i had.
i have created a executable jar file.When i double click that file it is getting executed without any problem but when i go to command prompt and tries to run this jar by using folowing command
java -jar myjar.jar
it is giving me the error as
Exception in thread "main" java.lang.UnsupportedClassVersionError:com/build/deploy/Deploy (Unsupported major.minor version 49.0)
i am not getting why it is giving me this version error.
can any body answer my question.
i am using version JDK1.5 also program is running perfesctly from ecllipse IDE.

