I'm trying to setup AEM on my MACOS with Java 11 and I'm seeing the following error during the launch.
18.07.2024 16:14:29.173 *ERROR* [main] Cannot launch: Cannot install jar:file: AEM/Author/crx-quickstart/app/cq-quickstart-cloudready-2021.11.6058.20211123T163652Z-211100-standalone-quickstart.jar!/resources/org.apache.sling.launchpad.base.jar for use
18.07.2024 16:14:29.173 *ERROR* [main] java.util.zip.ZipException: Invalid CEN header (invalid extra data field size for tag: 0xbfef at 559)
18.07.2024 16:14:29.173 *ERROR* [main] at java.base/java.util.zip.ZipFile$Source.zerror(ZipFile.java:1776)
18.07.2024 16:14:29.173 *ERROR* [main] at java.base/java.util.zip.ZipFile$Source.checkExtraFields(ZipFile.java:1275)
18.07.2024 16:14:29.173 *ERROR* [main] at java.base/java.util.zip.ZipFile$Source.initCEN(ZipFile.java:1741)
18.07.2024 16:14:29.173 *ERROR* [main] at java.base/java.util.zip.ZipFile$Source.<init>(ZipFile.java:1470)
18.07.2024 16:14:29.173 *ERROR* [main] at java.base/java.util.zip.ZipFile$Source.get(ZipFile.java:1433)
18.07.2024 16:14:29.173 *ERROR* [main] at java.base/java.util.zip.ZipFile$CleanableResource.<init>(ZipFile.java:743)
18.07.2024 16:14:29.173 *ERROR* [main] at java.base/java.util.zip.ZipFile$CleanableResource.get(ZipFile.java:860)
18.07.2024 16:14:29.173 *ERROR* [main] at java.base/java.util.zip.ZipFile.<init>(ZipFile.java:258)
18.07.2024 16:14:29.173 *ERROR* [main] at java.base/java.util.zip.ZipFile.<init>(ZipFile.java:187)
18.07.2024 16:14:29.173 *ERROR* [main] at java.base/java.util.jar.JarFile.<init>(JarFile.java:348)
18.07.2024 16:14:29.173 *ERROR* [main] at java.base/java.util.jar.JarFile.<init>(JarFile.java:319)
18.07.2024 16:14:29.173 *ERROR* [main] at java.base/java.util.jar.JarFile.<init>(JarFile.java:285)
18.07.2024 16:14:29.173 *ERROR* [main] at org.apache.sling.commons.osgi.bundleversion.FileBundleVersionInfo.<init>(FileBundleVersionInfo.java:40)
18.07.2024 16:14:29.173 *ERROR* [main] at org.apache.sling.launchpad.base.shared.Loader.installLauncherJar(Loader.java:172)
18.07.2024 16:14:29.173 *ERROR* [main] at org.apache.sling.launchpad.app.Main.doStart(Main.java:382)
18.07.2024 16:14:29.173 *ERROR* [main] at org.apache.sling.launchpad.app.Main.doStart(Main.java:347)
18.07.2024 16:14:29.173 *ERROR* [main] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
18.07.2024 16:14:29.173 *ERROR* [main] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
18.07.2024 16:14:29.173 *ERROR* [main] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
18.07.2024 16:14:29.173 *ERROR* [main] at java.base/java.lang.reflect.Method.invoke(Method.java:566)
18.07.2024 16:14:29.173 *ERROR* [main] at com.adobe.granite.quickstart.base.impl.exec.Bootstrap.run(Bootstrap.java:107)
18.07.2024 16:14:29.173 *ERROR* [main] at com.adobe.granite.quickstart.base.impl.Quickstart.run(Quickstart.java:272)
18.07.2024 16:14:29.173 *ERROR* [main] at com.adobe.granite.quickstart.base.impl.Main.<init>(Main.java:918)
18.07.2024 16:14:29.173 *ERROR* [main] at com.adobe.granite.quickstart.base.impl.Main.main(Main.java:980)
MAIN process: shutdown hook
MAIN process: exiting
Solved! Go to Solution.
Views
Replies
Total Likes
Hi @pixislinger ,
Most probably jar file is corrupt you may download another(latest sdk) and try https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/aem-local-server-error-whi...
If issue doesn't resolved.
try different patch version of java https://bugs.openjdk.org/browse/JDK-8313765
https://community.flexera.com/t5/InstallAnywhere-Forum/Getting-zipExceptions/m-p/295302#M10872
Step by step guide https://experienceleague.adobe.com/en/docs/experience-manager-learn/cloud-service/local-development-...
Thanks,
Hi @pixislinger ,
Most probably jar file is corrupt you may download another(latest sdk) and try https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/aem-local-server-error-whi...
If issue doesn't resolved.
try different patch version of java https://bugs.openjdk.org/browse/JDK-8313765
https://community.flexera.com/t5/InstallAnywhere-Forum/Getting-zipExceptions/m-p/295302#M10872
Step by step guide https://experienceleague.adobe.com/en/docs/experience-manager-learn/cloud-service/local-development-...
Thanks,
Why you are installing a 2021 version? Is there any reason for that?, if not just download the latest version of the SDK and make sure to rename the JAR.
Hope this helps
Try using the latest version SDK, you can get it from the software distribution portal.
Re-name it to "AEM-author-p4502" - "AEM" here is just a placeholder name, you can write anthing there.
"author" here is mandatory if you want to run on Author mode and p4502 is the port number, the letter p is optional here but mentioning it would specifically says that it is a port number.
try the command; java -jar AEM-author-p4502.jar
@pixislinger - Renaming the jar to aem-author-p4502.jar and running with java -jar aem-author-p4502.jar should help!
Hi @pixislinger ,
I did the AEM setup in MacOS recently. As like in windows, yu cannot double click on the Jar for the installation/ Startup. Also ensure your Java environment variables are set up in .zsh file. If you do it via command prompt/ Start script it will work fine. Just give it a try.
Regards,
Hemalatha C
Views
Replies
Total Likes
Views
Likes
Replies