If you doubleclick on a jarfile, and your Java application does not start, your .jar association has been hijacked. You can fix the problem with Jarfix. The problem ... The root cause for the problem above is, that a program has stolen the. ...
- jarfix.exe
- Johann Nepomuk Loefflmann
- Freeware (Free)
- Win95, Win98, WinME, Windows2000, Windows2003, WinNT 4.0, WinXP, Windows Vista, Windows 7
Manifest Viewer is a small, simple, Java based application specially designed to offer users an utility that uses the Java Class Library tools to look inside a jar's manifest file.All that you have to do is select the JARfile to process and you're. ...
- ManifestViewer.jnlp
- Aleph Naught
- Freeware (Free)
- WindowsAll
JClassDiagramMaker is a small, Java based application specially designed to give you complete ability to sniff a JARfile and generate the class diagram for any selected class. It use concept of Reverse Engineering and generate class diagram , you. ...
- JClassDiagramMaker
- Ketan Barapatre
- Freeware (Free)
- WindowsAll
Eclipse Plug-In for deploying a project into one 'fat' executable jarfile containing all referenced libraries. References are taken from the project settings, so no manual configuration is. ...
- net.sf.fjep.fatjar_0.0.31.zip
- fjep
- Freeware (Free)
- 241 Kb
- Windows; Mac; Linux
One-JAR(TM) is a simple solution to a vexing problem in Java: how to distribute an application as a single jar-file, when it depends on multiple other jar-files. One-JAR uses a custom classloader to discover library jar files inside the main. ...
- one-jar-appgen-0.97.jar
- one-jar
- Freeware (Free)
- 306 Kb
- Windows; Mac; Linux
The AQZ File Parser for Java is a simple jarfile. So you can use this lib for reading 'Amateur Radio Questionary Data Format Zipped' files (*.aqz). A aqz file contains all questions and images of a ham radio exam. This format was developed by Oliver ...
- AQZ File Parser for Java
- peacekiller
- Freeware (Free)
- 48 Kb
- Windows
A simple utility that allows you to search for a class file within JARs, within your local filesystem, and return all the matching JARfile and their locations.
- JAR Searcher
- Sumith Puri
- Freeware (Free)
- Windows
JarFinder is a java swing based utility application, which helps in locating a jar file out of a given set of jar files. It takes a Class name/Fully qualified class name as search parameter and finds the jar for the same..
- JarFinder-Windows.zip
- Pradeep Pejaver
- Shareware ($)
- 30 Kb
- Win All
Aspose.Cells for JasperReports allows exporting reports from JasperReports & JasperServer to MS Excel XLS format. It is written purely in Java and a single provided JARfile can easily be deployed on the machines running JasperReports or JasperServer. ...
- Aspose.Cells.JasperReports.zip
- Aspose Pty Ltd
- Shareware ($999.00)
- 10.6 Mb
- Java, Win7 x32, WinXP
A7Soft JExamXML is an XML comparison Java based command line application. Aimed at professional java developers, this tool may be very useful for every users working with XML. This software can be used either as a standalone program or as a jarfile. ...
- jexamxml.zip
- A7Soft
- Freeware (Free)
- 72 Kb
- Windows All, Unix, Linux
CodeSimian is a single JARfile smaller than 2 megabytes, and the program starts when you double-click it. To download and use CodeSimian, click CodeSimian.jar then click Open -or- click Save, find the file CodeSimian.jar, then double-click it. A. ...
- CodeSimian.jar
- Codesimian
- Freeware (Free)
- 1.79 Mb
- Windows 2003, XP, 2000, 98, Me, NT
EaSynth JRepacker 0.1 is a versatile and convenient program which is packed with the facilities to repack your java application and the java runtime (JRE). With this tool, you can exclude any file, folder or entries in jarfile from your software. ...
- EaSynth JRepacker
- EASYNTH
- Freeware (Free)
- 4 Mb
- Windows Vista, Windows 95, Windows Me, Window
- Executable Jar File Games Free Download
- How To Open Jar Files Windows 10
- Executable Jar File Games
- Run Jar File Windows 10
- Jar Games Free Download 240x320
Executable Jar File Games Free Download
- The AQZ File Parser for Java is a simple jar file.So you can use this lib for reading 'Amateur Radio Questionary Data Format Zipped' files (.aqz). A aqz file contains all questions and images of a ham radio exam.
- Java allows you to play online games, chat with people around the world, calculate your mortgage interest, and view images in 3D, just to name a few. Java software for your computer, or the Java Runtime Environment, is also referred to as the Java Runtime, Runtime Environment, Runtime, JRE, Java Virtual Machine, Virtual Machine, Java VM, JVM.
A file with the.JAR file extension is a Java Archive file used for storing Java programs and games in a single file. Some contain files that make them work as standalone apps and others hold program libraries for other programs to use.
Related:Games Jar File - Jar File Cricket Games - Java Games Jar File - China Phone Jar File Games - Cricket Games File Type Jar
Filename extension | .jar |
---|---|
Internet media type | application/java-archive[1][2] |
Uniform Type Identifier (UTI) | com.sun.java-archive |
Magic number | PKx03x04 (standard ZIP file) |
Developed by | Netscape, Sun Microsystems, Oracle Corporation |
Type of format | File archive, data compression |
Extended from | ZIP |
A JAR (Java ARchive) is a packagefile format typically used to aggregate many Java class files and associated metadata and resources (text, images, etc.) into one file for distribution.[3] It is used to store classes of java created by the user in order to help the runnable and inference concepts embedded within the language.
JAR files are archive files that include a Java-specific manifest file. They are built on the ZIP format and typically have a .jar
file extension.[4]
- 5Manifest
- 5.1Specifications
Design[edit]
A JAR file allows Java runtimes to efficiently deploy an entire application, including its classes and their associated resources, in a single request. JAR file elements may be compressed, shortening download times.
A JAR file may contain a manifest file, that is located at META-INF/MANIFEST.MF
. The entries in the manifest file describe how to use the JAR file. For instance, a Classpath entry can be used to specify other JAR files to load with the JAR.
Extraction[edit]
The contents of a JAR file may be extracted using any standard decompression software, or the jar
command line utility: 'jar -xf foo.jar
'.
Security[edit]
Developers can digitally sign JAR files. In that case, the signature information becomes part of the embedded manifest file. The JAR itself is not signed, but instead every file inside the archive is listed along with its checksum; it is these checksums that are signed. Multiple entities may sign the JAR file, changing the JAR file itself with each signing, although the signed files themselves remain valid. When the Java runtime loads signed JAR files, it can validate the signatures and refuse to load classes that do not match the signature. It can also support 'sealed' packages, in which the Classloader will only permit Java classes to be loaded into the same package if they are all signed by the same entities. This prevents malicious code from being inserted into an existing package, and so gaining access to package-scoped classes and data.
The content of JAR files may be obfuscated to make reverse engineering more difficult.
Executable JAR files[edit]
An executable Java program can be packaged in a JAR file, along with any libraries the program uses. Executable JAR files have the manifest specifying the entry point class with Main-Class: myPrograms.MyClass
and an explicit Class-Path (and the -cp argument is ignored). Some operating systems can run these directly when clicked. The typical invocation is java -jar foo.jar
from a command line.
Native launchers can be created on most platforms. For instance, Microsoft Windows users who prefer having Windows EXE files can use tools such as JSmooth, Launch4J, WinRun4J or Nullsoft Scriptable Install System to wrap single JAR files into executables.
Manifest[edit]
A manifest file is a metadata file contained within a JAR.[5][6] It defines extension and package-related data. It contains name-value pairs organized in sections. If a JAR file is intended to be used as an executable file, the manifest file specifies the main class of the application. The manifest file is named MANIFEST.MF
. The manifest directory has to be the first entry of the compressed archive.
Specifications[edit]
The manifest appears at the canonical location META-INF/MANIFEST.MF
.[7] There can be only one manifest file in an archive and it must be at that location.
The content of the manifest file in a JAR file created with version 1.0 of the Java Development Kit is the following.
The name is separated from its value by a colon. The default manifest shows that it conforms to version 1.0 of the manifest specification.
The manifest can contain information about the other files that are packaged in the archive. Manifest contents depend on the intended use for the JAR file. The default manifest file makes no assumptions about what information it should record about other files, so its single line contains data only about itself.
Special-Purpose Manifest Headers[edit]
JAR files created only for the purpose of archiving do not use the MANIFEST.MF
file.
Most uses of JAR files go beyond simple archiving and compression and require special information in the manifest file.
Applications[edit]
If an application is contained in a JAR file, the Java Virtual Machine needs to know the application's entry point. An entry point is any class with a public static void main(String[] args)
method. This information is provided in the Main-Class header, which has the general form:
In this example com.example.MyClassName.main()
executes at application launch.
Package Sealing[edit]
Optionally, a package within a JAR file can be sealed, which means that all classes defined in that package are archived in the same JAR file. A package might be sealed to ensure version consistency among the classes in the software or as a security measure.
To seal a package, a Name entry needs to appear, followed by a Sealed header, such as:
The Name header's value is the package's relative pathname. Note that it ends with a '/' to distinguish it from a filename. Any headers following a Name header, without any intervening blank lines, apply to the file or package specified in the Name header. In the above example, because the Sealed
header occurs after the Name: myCompany/myPackage
header with no intervening blank lines, the Sealed
header applies (only) to the package myCompany/myPackage
.
Package Versioning[edit]
Several manifest headers hold versioning information. One set of headers can be assigned to each package. The versioning headers appear directly beneath the Name header for the package. This example shows all the versioning headers:
Dependencies[edit]
The MANIFEST.MF
file can be used to specify all the classes that must be loaded for an application to be able to run.[8]
How To Open Jar Files Windows 10
Note that Class-Path entries are delimited with spaces, not with the system path delimiter:
Apache Ant Zip/JAR support[edit]
The Apache Ant build tool has its own package to read and write Zip and JAR archives, including support for Unixfilesystem extensions. The org.apache.tools.zip package is released under the Apache Software Foundation license and is designed to be usable outside Ant.
Related formats[edit]
Several related file formats build on the JAR format:
- WAR (Web application archive) files, also Java archives, store XML files, Java classes, JavaServer Pages and other objects for Web Applications.
- RAR (resource adapter archive) files (not to be confused with the RAR file format), also Java archives, store XML files, Java classes and other objects for J2EE Connector Architecture (JCA) applications.
- EAR (enterprise archive) files provide composite Java archives that combine XML files, Java classes and other objects including JAR, WAR and RAR Java archive files for Enterprise Applications.
- SAR (service archive) is similar to EAR. It provides a service.xml file and accompanying JAR files.
- APK (Android Application Package), a variant of the Java archive format, is used for Android applications.[9]
- PAR (Plan ARchive) - supported by Eclipse VirgoOSGi application server, allows the deployment of multi-bundle OSGi applications as a single archive and provides isolation from other PAR-based applications deployed in the same server.
- KAR (Karaf ARchive) - supported by Apache Karaf OSGi application server, allows the deployment of multi-bundle, multi-feature OSGi applications.
See also[edit]
References[edit]
Executable Jar File Games
- ^'File Extension .JAR Details'. Retrieved 29 November 2012.
- ^'MIME : Java Glossary'. Retrieved 29 November 2012.
- ^'JDK 6 Java Archive (JAR)-related APIs & DeveloperGuides'.
- ^'JAR File Specification'. Java SE Documentation. Oracle. Archived from the original on 2017-09-11.
- ^'Understanding the Manifest'. Java.sun.com. 2003-03-21. Retrieved 2012-07-31.
- ^'JAR File Specification'. Download.oracle.com. Retrieved 2012-07-31.
- ^'JAR File Specification'. Download.oracle.com. Retrieved 2012-07-31.
- ^the sun servlet specification, page 72 (servlet-2_4-fr-spec.pdf). See also the Java Tech Notes.
- ^'Glossary'. developer.android.com.