I have generated .jar file in windows.
I have to execute that .jar file in unix .
I am running that command (java -jar myJar.jar), but it’s giving
java.lang.UnsupportedVersionError
I am using java version 1.5.0.12 in Unix.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You must be trying to launch a jar compiled with JDK6, with a local java1.5.
You can either:
:
to check if you can generate 1.5 bytecode compatible.