Browse our Products

<dependency>
    <groupId>com.aspose</groupId>
    <artifactId>aspose-zip</artifactId>
    <version>25.1</version>
</dependency>
copied!  
                                                
                                                  compile(group: 'com.aspose', name: 'aspose-zip', version: '25.1')
                                                
                                              
copied!  
<dependency org="com.aspose" name="aspose-zip" rev="25.1">
    <artifact name="aspose-zip" ext="jar"/>
</dependency>
copied!  
libraryDependencies += "com.aspose" % "aspose-zip" % "25.1"
copied!  

What’s new in the Aspose.ZIP for Java 25.1

Release Highlights

The 25.1 release of Aspose.ZIP for Java introduces support for extracting ARJ archive files, expands LHA metadata accessibility, and improves error handling for encrypted ZIPs. These enhancements boost compatibility across a broader range of archive types.

New Features

  • ARJ Archive Extraction
    • Added support for .arj archive files with access to entry names, sizes, and commentary.
    • ArjArchive and ArjEntryPlain classes introduced for archive manipulation.

Enhancements

  • LHA Archive Improvements
    • LhaArchiveEntry.isDirectory() and getLastModified() methods added to retrieve directory status and last modified timestamp.
    • Removed obsolete LhaDirectoryEntry class to simplify LHA structure.

Bug Fixes

  • ZIP Decryption Exception Accuracy
    • Corrected the exception type thrown when extracting encrypted ZIP archives with an incorrect password.
  • LHA Archive Integrity
    • Prevented extraction from LHA streams that are too short or malformed.

Public API and Backward Incompatible Changes

  • Added Types

    • com.aspose.zip.ArjArchive
    • com.aspose.zip.ArjEntryPlain
  • Added Methods

    • ArjArchive(String) – constructor
    • ArjArchive.extractToDirectory(String)
    • ArjArchive.getName()
    • ArjArchive.getEntries()
    • ArjArchive.getCommentary()
    • ArjEntryPlain.getCompressedSize()
    • ArjEntryPlain.getName()
    • ArjEntryPlain.getUncompressedSize()
    • ArjEntryPlain.extract(String)
    • LhaArchiveEntry.isDirectory()
    • LhaArchiveEntry.getLastModified()
  • Removed Type

    • com.aspose.zip.LhaDirectoryEntry

🔍 Explore the Full Release Details

For full list of updates, please visit Aspose.ZIP for Java 25.1 Release Notes.


arj | lha | zip decryption | compressed archive | aspose.zip for java

VersionRelease Date
25.5May 14, 2025
25.4April 30, 2025
25.3March 27, 2025
25.2February 28, 2025
25.1January 31, 2025
24.12December 19, 2024
24.11November 29, 2024
24.10October 30, 2024
24.9September 30, 2024
24.8August 30, 2024
24.7July 31, 2024
24.6June 29, 2024
24.5May 14, 2024
24.4April 25, 2024
24.3March 29, 2024
24.2March 11, 2024
24.1January 31, 2024
23.12December 22, 2023