zipcreator home

User guide

Getting started

zipcreator interface

Working with zip files

Console mode

Integrating zipcreator

Troubleshooting

Contact the developers

zipcreator > User guide >

Troubleshooting

Java security policy permissions

This section is only relevant if your Java Runtime Environment uses a custom security policy. The following grant syntax demonstrates the required security permissions. You can adapt this example for inclusion in your policy file.

grant codeBase "file:C:/Program Files/zipcreator/*" {
  permission java.awt.AWTPermission "createRobot"; // Optional
  permission java.awt.AWTPermission "readDisplayPixels"; // Optional
  permission java.awt.AWTPermission "accessClipboard"; // Optional
  permission java.awt.AWTPermission "showWindowWithoutWarningBanner";
  permission java.awt.AWTPermission "replaceKeyboardFocusManager"; 

  permission java.util.PropertyPermission "os.name", "read"; 
  permission java.util.PropertyPermission "user.dir", "read";
  permission java.util.PropertyPermission "user.home", "read";
  permission java.util.PropertyPermission "java.io.tmpdir", "read"; 

  permission java.io.FilePermission "<<ALL FILES>>", "read, write, delete";

  // Alternatively, for specific directory access control 
  // permission java.io.FilePermission "${user.home}${/}-", "read, write"; 
  // permission java.io.FilePermission "${java.io.tmpdir}${/}-", "read, write, delete"; 
  // And for each drive or directory
  // permission java.io.FilePermission "path${/}", "read, write"; 
  // permission java.io.FilePermission "path${/}-", "read, write, delete";
};

Known issues

Limitations on saving zip files The maximum zip file size is 2GB. The maximum number of entries is 65,534. More recent Java Runtime versions (JRE 6 Update 18 and later) allow zip files up to 4GB.

Saving to small storage devices When saving a zip file to a destination with insufficient free space, an error is reported while 'Copying to destination'. Due to the limited file system information available to zipcreator, the free space at the destination is not known prior to saving. You can either save to another destination, or retrieve the zip file from the temporary location indicated in the message.

Modified dates of extracted directories On Windows 9x platforms, extracted directory entries do not display the correct modified date. Instead the directories show the date and time they were extracted.

Pasting clipboard contents On Linux, pasting the clipboard contents from zipcreator to a directory can result in a single file being created which contains textual paths to temporary files. Use the toolbar buttons to extract entries instead.

Copying files from a directory and pasting them into zipcreator may have no effect. Use the Add button to add entries instead.

Cannot drag and drop files to zipcreator Inbound drag and drop operations may not work on Linux if such gestures are not reported to zipcreator. Instead, you can use the toolbar buttons and keyboard shortcuts to open zip files and add entries.

Navigating the popup menu With early versions of Mac OS X, using the up and down arrow keys in the popup menu did not work consistently. You can either use the mouse with the popup menu or invoke the entry management commands using the function keys.

Cannot drag and drop files from zipcreator Outbound drag and drop operations are disabled in zipcreator running under Mac OS X. Instead, use the toolbar buttons and keyboard shortcuts to extract zip file entries.

To enable outbound drag and drop operations you can experiment with the -norestrict switch when starting zipcreator from a Terminal window, for example:

java -jar zipcreator.jar -norestrict

Clipboard commands have no effect Cut, copy and paste functionality is disabled in zipcreator running under Mac OS X. If you start zipcreator from a Terminal window you can experiment with the -norestrict switch mentioned above.