views:

151

answers:

6

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 java.security.SecureClassLoader.defineClass(Unknown Source) at java.net.URLClassLoader.defineClass(Unknown Source) at java.net.URLClassLoader.access$100(Unknown Source) at java.net.URLClassLoader$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(Unknown 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.

+6  A: 

Have you tried (from a command line)

java -jar jbpm-installer-3.2.7.jar

or double clicking it with the mouse ?

Found this and this by googling.

Hope it helps

Tom
if i double click it, it is opening in winrar!. wrong file association, i guess.
brainless
A jar file equivilent to a zip file, which is why winrar will have opened it, the association is not *wrong* per se, just in this case you want to execute the code within the jar
Jon Freedman
@brainless Try looking at the first link I posted.
Tom
+3  A: 

To run usually click and it should run, that is if you have java installed. If not get java from here Sorry thought it was more general open a command prompt and type java -jar jbpm-installer-3.2.7.jar

Dean
+1  A: 

Open up a command prompt and type java -jar jbpm-installer-3.2.7.jar

mocybin
+1  A: 

Check out this link.

This provides various option to run and configure jar to run on various platforms.

http://www.wikihow.com/Run-a-.Jar-Java-File

YoK
+3  A: 

The UnsupportedClassVersionError means that you are probably using (installed) an older version of Java as used to create the JAR.
Go to java.sun.com 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.

Carlos Heuberger
A: 

If double-clicking on it brings up WinRAR, you need to change the program you are running it with. You can right-click on it and click "Open with". Java should be listed in there.

However, you must first upgrade your Java version to be compatible with that JAR.

Serplat