Solved

How to run jar files on a pc?

Posted on 2008-10-05
4
7,564 Views
Last Modified: 2012-05-05
How to run .jar files on a pc?
0
Comment
Question by:elimliau
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Question has a verified solution.

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

This article summaries thoughts and ideas from two years of sustained use. It provides good reasoning to make the jump to Windows 10.
Compliance and data security require steps be taken to prevent unauthorized users from copying data.  Here's one method to prevent data theft via USB drives (and writable optical media).
Windows 8 comes with a dramatically different user interface known as Metro. Notably missing from the new interface is a Start button and Start Menu. Many users do not like it, much preferring the interface of earlier versions — Windows 7, Windows X…
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…

623 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