Hey anyone please provide instructions to open a .jar file...
Thanks in advance..:)
Help me in opening jar files..
Started by raghu, Jul 04 2010 11:23 PM
5 replies to this topic
#1
Posted 04 July 2010 - 11:23 PM
|
|
|
#2
Posted 05 July 2010 - 02:12 AM
In order to run a .jar file, you must have the Java Runtime Environment (JRE) installed. A .jar is like a zip (i think you can even open it with winrar or so) but it is also runnable as Java software if the JRE is installed.
I suppose a JRE is automatically installed if you have the JDK (Java Development Kit) installed.
I suppose a JRE is automatically installed if you have the JDK (Java Development Kit) installed.
#3
Posted 05 July 2010 - 02:18 AM
oxano said:
In order to run a .jar file, you must have the Java Runtime Environment (JRE) installed. A .jar is like a zip (i think you can even open it with winrar or so) but it is also runnable as Java software if the JRE is installed.
I suppose a JRE is automatically installed if you have the JDK (Java Development Kit) installed.
I suppose a JRE is automatically installed if you have the JDK (Java Development Kit) installed.
I've installed JDK 1.6. But after running that .jar file using java -jar command it saying that main class path file is missing.. :(
#4
Posted 05 July 2010 - 05:06 AM
That suggests that whoever created the jar file may have screwed up. It could be missing a file, have files in the wrong place, etc. Moving things around in the jar file is unlikely to work well. It's also possible that someone renamed the jar file, which will cause problems.
#5
Posted 05 July 2010 - 05:09 AM
Then, assuming the .jar files contains a .class file with the main method, the .jar file must be corrupt or some kind. :(
The JRE will search for the main method to start running with help from the manifest file which tells the JRE where that main method is. For some odd reason it can't find it. The manifest file should be automatically created when the .jar is being made.
The JRE will search for the main method to start running with help from the manifest file which tells the JRE where that main method is. For some odd reason it can't find it. The manifest file should be automatically created when the .jar is being made.
#6
Posted 05 July 2010 - 06:45 AM
oxano said:
Then, assuming the .jar files contains a .class file with the main method, the .jar file must be corrupt or some kind. :(
The JRE will search for the main method to start running with help from the manifest file which tells the JRE where that main method is. For some odd reason it can't find it. The manifest file should be automatically created when the .jar is being made.
The JRE will search for the main method to start running with help from the manifest file which tells the JRE where that main method is. For some odd reason it can't find it. The manifest file should be automatically created when the .jar is being made.
Ok. I'll check it once..
Thankyou dude..


Sign In
Create Account


Back to top









