|
How to run Jar files in windows XP?
|
| View previous topic :: View next topic |
| Author |
Message |
Andre Guest Programmer
|
I've just downloaded a jar file.
For example myFile.jar
How do I run it in windowsXP
Thanks!!
Reply with quote
|
| |
|
|
devunion New Programmer
Joined: 04 Feb 2009 Posts: 8
|
You need to add %YOUR_JAVA_DIRECTORY%\bin. Then ensure that you have done all correctly. Type 'cmd' in console. And then type 'java' in opened command window.
then run 'java -jar myFile.jar' in comman line. Ensure that your current working directory contains JAR file. _________________ Welcome to Freelancer's world-wide portal
Reply with quote
|
| |
|
|
hi Guest Programmer
|
| devunion wrote: |
You need to add %YOUR_JAVA_DIRECTORY%\bin. Then ensure that you have done all correctly. Type 'cmd' in console. And then type 'java' in opened command window.
then run 'java -jar myFile.jar' in comman line. Ensure that your current working directory contains JAR file. |
I am getting error
failed to load main class
Reply with quote
|
| |
|
|
heronfisher New Programmer
Joined: 11 Mar 2010 Posts: 4
|
I always run jar files the following way
Start->Run...->cmd
At cmd prompt, java -jar blah.jar
This assumes you've loaded a Java SDK, and that the "jar" command is on your PATH. _________________ acekard 2
Reply with quote
|
| |
|
|
dottech New Programmer
Joined: 03 Mar 2010 Posts: 3 Location: pakistan
|
I think you need to visit this place www . pakandu . com they will
provide solution almost at no price.
Reply with quote
|
| |
|
|
|