Open .jar
Monkey Forums/Monkey Programming/Open .jar
| ||
Hi friends is it possible to program a app that open a .jar file? |
| ||
Since nobody else jumped on this-- I ~think~ a .jar file is just a .zip file with a different extension. If you can find a way to open a .zip, you can open a .jar-- try it and see anyway, or wait for someone more certain to respond. :) |
| ||
thanks for answer |
| ||
Yes you can just open .jar's with a zip program to see its contents, or run it with "java -jar <file.jar>". Do you want to import the jar in your monkey project? It might be possible for Android target |
| ||
@minke: ...or run it with "java -jar <file.jar>". Only if the Jar's Manifest has a "Main-Class:" property. |