Solved

How to run jar files on a pc?

Posted on 2008-10-05
4
7,562 Views
Last Modified: 2012-05-05
How to run .jar files on a pc?
0
Comment
Question by:elimliau
4 Comments
 
LVL 70

Expert Comment

by:KCTS
ID: 22644139
Jar files are compressed files - a bit like .zip file WINRAR will unpack .jar files http://www.rarlab.com/
0
 
LVL 45

Expert Comment

by:sunnycoder
ID: 22644159
Hello elimliau,

If it is a standalone program use this command
java -jar foo.jar
Where foo.jar is your jar file. You would need Java for running this command - it can be downloaded for free from java.sun.com

Regards,

sunnycoder
0
 
LVL 10

Expert Comment

by:peetm
ID: 22644161
java -jar your-file-name.jar
0
 
LVL 16

Accepted Solution

by:
Gyanendra Singh earned 500 total points
ID: 22644166
0

Featured Post

The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A Bare Metal Image backup allows for the restore of an entire system to a similar or dissimilar hardware. They are highly useful for migrations and disaster recovery. Bare Metal Image backups support Full and Incremental backups. Differential backup…
For both online and offline retail, the cross-channel business is the most recent pattern in the B2C trade space.
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…

685 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question