brainless brainless - 3 months ago 11x
Java Question

how to run or install a *.jar file in windows?

i have downloaded jbpm-installer-3.2.7.jar but i don't know how to install or run the file.

if i double click it it is opening in winrar application.

i tried installing through command prompt, but i got some errors as follows

C:\Documents and Settings\ccuser\Desktop\manoj>java -jar jbpm-installer-3.2.7.jar

Exception in thread "main" java.lang.UnsupportedClassVersionError: com/izforge/i
zpack/installer/Installer (Unsupported major.minor version 49.0)
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at Source)
at Source)
at$100(Unknown Source)
at$ Source)
at Method)
at Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)

C:\Documents and Settings\ccuser\Desktop\manoj>

Help me please. thanks in advance.


The UnsupportedClassVersionError means that you are probably using (installed) an older version of Java as used to create the JAR.
Go to page, download and install a newer JRE (Java Runtime Environment).
if you want/need to develop with Java, you will need the JDK which includes the JRE.