AEM jar file doesn't run | Community
Skip to main content
Level 3
October 23, 2021
Solved

AEM jar file doesn't run

  • October 23, 2021
  • 2 replies
  • 17341 views

Hello,
I have a jar file of AEM 6.5. I created the two instances (author and publish) but when I start the jar file the crx quickstart folder is created, with the "logs" folder inside, and an empty "upgrade" notepad file.


It should be noted that before doing this I installed Maven on my pc.

Can anyone help me? I can't start AEM from my pc.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Sanjay_Bangar

And strange, i can't insert the passord admin admin!

 


C:\Users\ruutu\Desktop\UDEMY\corso AEM\Adobe Experience Manager\Nuovo sito>java -jar AEM_6.3_Quickstart.jar
Loading quickstart properties: default
Loading quickstart properties: instance
Low-memory action set to fork
Using 64bit VM settings, min.heap=1024MB, min permgen=256MB, default fork arguments=[-Xmx1024m, -XX:MaxPermSize=256m]
The JVM reports a heap size of 1682 MB, meets our expectation of 1024 MB +/- 20
Setting properties from filename 'C:/Users/ruutu/Desktop/UDEMY/corso AEM/Adobe Experience Manager/Nuovo sito/AEM_6.3_Quickstart.jar'
The admin password for this instance hasn't been defined yet.
Please enter the desired admin password:
Please re-enter password:
Passwords do not match.
Please enter the desired admin password:


Hi @francobarresi ,

       Yesterday I got the same issue and I followed below url and resolved it.

https://experienceleague.adobe.com/docs/experience-manager-65/administering/security/security-configure-admin-password.html?lang=en

 

 

2 replies

Asutosh_Jena_
Community Advisor
Community Advisor
October 23, 2021

Hi @francobarresi 

 

Please ensure the correct JDK version is installed on the machine.

 

AEM 6.5 supports the following JDK:

  1. Oracle JDK 1.8
  2. Oracle JDK 11
  3. Azul Zulu Open JDK 8
  4. Azul Zulu Open JDK 11

Any other version of JDK will not allow the AEM JAR to run on the machine.

 

Please validate the JDK installation by running the below command:

 

java -version

 

Now navigate to the folder where the AEM JAR file is kept and run the following command to start the instance:

 

java -jar aem-author-p4502.jar

 

Note: Here the AEM Jar file name is aem-author-p4502.jar

 

You should be able to start the application and AEM should be up and running in approx. 4-5 min depending upon the machine configuration.

 

Hope this helps!

 

Thanks!

Level 3
October 23, 2021

Hello! This is the responde of java -version on my Prompt's Command

 

C:\Users\ruutu>java -version
java version "1.8.0_131"
Java(TM) SE Runtime Environment (build 1.8.0_131-b11)
Java HotSpot(TM) 64-Bit Server VM (build 25.131-b11, mixed mode)

Level 3
October 23, 2021

And strange, i can't insert the passord admin admin!

 


C:\Users\ruutu\Desktop\UDEMY\corso AEM\Adobe Experience Manager\Nuovo sito>java -jar AEM_6.3_Quickstart.jar
Loading quickstart properties: default
Loading quickstart properties: instance
Low-memory action set to fork
Using 64bit VM settings, min.heap=1024MB, min permgen=256MB, default fork arguments=[-Xmx1024m, -XX:MaxPermSize=256m]
The JVM reports a heap size of 1682 MB, meets our expectation of 1024 MB +/- 20
Setting properties from filename 'C:/Users/ruutu/Desktop/UDEMY/corso AEM/Adobe Experience Manager/Nuovo sito/AEM_6.3_Quickstart.jar'
The admin password for this instance hasn't been defined yet.
Please enter the desired admin password:
Please re-enter password:
Passwords do not match.
Please enter the desired admin password:

GK-007
Level 9
October 23, 2021

If you are using double clicking quick start jar,this will not work.

use this command java -jar aem-author-p4502.jar

Level 3
October 25, 2021

hello

i'm starting AEM only clicking batch file "quickstart", under the folder bin. But i can't use "author" and "publish" jar file, they don't start. When i click these (author or publish jar file) i see only a folder, inside the new folder quickstart who appears, called "logs" with a file empty named "upgrade". The others files don't appears. 

 

So in this case i can use AEM, in other way. But it's very strange: why i can't use "publish" and "author" files jar, and i can use only the folder quickstart-bin-start with jar file AEM_6.5_Quickstart?

Manu_Mathew_
Community Advisor
Community Advisor
October 26, 2021

Hi @francobarresi 

 

Seems you have the sandbox instance.