Problem with a Jar'ed file

Jul 12, 2001
10,142
2
0
someone sent me a file that executable JAR file, when i try to execute it, it comes up with the error Program.exe cannot be found, anyone know how to fix this?
 

alisajid

Member
Jun 29, 2001
194
0
0
It comes down to whether the JRE is properly installed on your system and whether the correct file association is in Windows.

From a command line try java -jar XYZ.jar to see if the jar file works.
 

manly

Lifer
Jan 25, 2000
12,564
3,381
136
There's no such thing as an executable JAR file. A Java JAR file is just a collection of code (and possibly other resources). If you're from the Windows world, think of a JAR as a .dll file.

Use alisajid's suggestion. If that doesn't work, then you would need to know a bit more about Java to use the file.