I have windows 7 OS. I have installed JRE 1.6 and when I try to open a jar. file I just get a list of other files common , javaapplication, jxl and META-INF. When I click on them I just get a whole list of CLASS files and other files. The .jar file is supposed to open a FORM for Prof Tax purpose (FORM III) and I have to upload p. tax details but on double clicking I just get this list of other files. Why isnt the jar file opening? What must I do?
I'd say...
1. Update your JRE to latest version.
2. Add your JRE to PATH
You probably have set WinRAR or other similar tool as the default program for .jar files.Right click on the jar file -> Open with -> choose default program -> Java
You must open the JAR file with Java, right click , Open with , select "Default program" -> select Java,
If Java is not in the list , then click browse, go to "C:\Program Files\Java\jre1.6.0\bin\java"
Click OK. Alternatively you can launch the program from the cmd-line
java -jar program.jar