Error on quickstart AEM 6.4

Avatar

Avatar
Boost 1
Level 1
MartinKSA
Level 1

Likes

2 likes

Total Posts

2 posts

Correct reply

0 solutions
Top badges earned
Boost 1
View profile

Avatar
Boost 1
Level 1
MartinKSA
Level 1

Likes

2 likes

Total Posts

2 posts

Correct reply

0 solutions
Top badges earned
Boost 1
View profile
MartinKSA
Level 1

13-12-2018

hi,

I installed AEM 6.4 locally and have been running it fine for the past few days.
After a machine restart and trying to rerun the jar files on my Mac I get the following errors on http://localhost:4502/aem/start.html, as well as on http://localhost:4503/sites.html/content

"libs/granite/ui/components/shell/header/user/User has been compiled by a more recent version of the Java Runtime (class file version 53.0), this version of the Java Runtime only recognizes class file versions up to 52.0

Cannot serve request to /aem/start.html in /libs/granite/ui/components/shell/header/user/user.html"

Screen Shot 2018-12-13 at 13.11.57.png

can anyone help me with this issue?

thanks

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Boost 1
Level 1
Nausheed
Level 1

Likes

2 likes

Total Posts

1 post

Correct reply

1 solution
Top badges earned
Boost 1
Affirm 1
View profile

Avatar
Boost 1
Level 1
Nausheed
Level 1

Likes

2 likes

Total Posts

1 post

Correct reply

1 solution
Top badges earned
Boost 1
Affirm 1
View profile
Nausheed
Level 1

11-09-2020

You have compiled with a different JDK version and are running with a different JRE version . 

- Create a new folder and copy the AEM's quickstart.jar file and run it. Now compilation and execution will be done via same versions . 

Hope this helped !

Answers (6)

Answers (6)

Avatar

Avatar
Establish
MVP
Veena_Vikram
MVP

Likes

484 likes

Total Posts

1,049 posts

Correct reply

121 solutions
Top badges earned
Establish
Coach
Contributor 2
Seeker
Ignite 5
View profile

Avatar
Establish
MVP
Veena_Vikram
MVP

Likes

484 likes

Total Posts

1,049 posts

Correct reply

121 solutions
Top badges earned
Establish
Coach
Contributor 2
Seeker
Ignite 5
View profile
Veena_Vikram
MVP

16-07-2021

For anyone looking for a solution ,

 

Problem (Root Cause) :- the below error means that you ran the jar first with a higher version of Java and now you are running it with a lower version. 

Java Runtime (class file version 53.0), this version of the Java Runtime only recognizes class file versions up to 52.0

In my case I ran the jar first with Java 11 , but my cmd picked Java 8 nowadays and I ended up with this exact error . 

 

Solution :- 

  1. Stop your AEM Jar 
  2. Remove your lower Java version and upgrade the Java Version to the latest one
  3. Re-run the jar and refresh the page
  4. Ta-da

 

Hope this works 

Veena ✌

Avatar

Avatar
Boost 1
Level 1
manuel_óscars89
Level 1

Like

1 like

Total Posts

1 post

Correct reply

0 solutions
Top badges earned
Boost 1
View profile

Avatar
Boost 1
Level 1
manuel_óscars89
Level 1

Like

1 like

Total Posts

1 post

Correct reply

0 solutions
Top badges earned
Boost 1
View profile
manuel_óscars89
Level 1

14-04-2020

I was experiencing this same problem when trying to use the debugger mode of AEM. To fix it I executed the following commands:

 

cd <DIRECTORY_IN_WHICH_YOU_HAVE_YOUR_QUICKSTAR.JAR>

"<DIRECTORY_IN_WHICH_YOU_HAVE_YOUR_DESIRED_JRE>\bin\java" -jar <DIRECTORY_IN_WHICH_YOU_HAVE_YOUR_QUICKSTAR.JAR>\AEM_6.5_Quickstart.jar -debug <PORT>

Avatar

Avatar
Validate 1
Level 2
rishabhkrishan
Level 2

Likes

5 likes

Total Posts

17 posts

Correct reply

0 solutions
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 1
Applaud 5
View profile

Avatar
Validate 1
Level 2
rishabhkrishan
Level 2

Likes

5 likes

Total Posts

17 posts

Correct reply

0 solutions
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 1
Applaud 5
View profile
rishabhkrishan
Level 2

10-02-2020

Hi MartinKSA,

 

I faced the same problem. Here is what I did:

Started AEM instance with JDK11

Changed the JAVA_HOME to JDK8

After this the same error popped up. So I changed the JAVA_HOME back to JDK11 and it worked.

 

Take a look whether have you done the same thing.

 

Thanks 

Avatar

Avatar
Ignite 1
Level 2
narindera257447
Level 2

Likes

5 likes

Total Posts

16 posts

Correct reply

0 solutions
Top badges earned
Ignite 1
Give Back 3
Give Back
Boost 5
Boost 3
View profile

Avatar
Ignite 1
Level 2
narindera257447
Level 2

Likes

5 likes

Total Posts

16 posts

Correct reply

0 solutions
Top badges earned
Ignite 1
Give Back 3
Give Back
Boost 5
Boost 3
View profile
narindera257447
Level 2

13-11-2019

I am also facing the same issue when i try to run AEM in debug mode using the below parameters:

java -XX:MaxPermSize=256m -Xmx1024M -agentlib:jdwp=transport=dt_socket,address=8000,server=y,suspend=n -jar aem-6.5-p4502.jar.jar

Note: While running in normal mode , we dont see any such issues.

Avatar

Avatar
Boost 1
Level 1
MartinKSA
Level 1

Likes

2 likes

Total Posts

2 posts

Correct reply

0 solutions
Top badges earned
Boost 1
View profile

Avatar
Boost 1
Level 1
MartinKSA
Level 1

Likes

2 likes

Total Posts

2 posts

Correct reply

0 solutions
Top badges earned
Boost 1
View profile
MartinKSA
Level 1

13-12-2018

Thanks for the reply. It appears as if i'm still on Java 8 (see image below).

Thanks

Screen Shot 2018-12-13 at 15.42.34.png

Avatar

Avatar
Coach
MVP
Arun_Patidar
MVP

Likes

1,444 likes

Total Posts

3,327 posts

Correct reply

941 solutions
Top badges earned
Coach
Contributor 2
Ignite 10
Give Back 700
Boost 1000
View profile

Avatar
Coach
MVP
Arun_Patidar
MVP

Likes

1,444 likes

Total Posts

3,327 posts

Correct reply

941 solutions
Top badges earned
Coach
Contributor 2
Ignite 10
Give Back 700
Boost 1000
View profile
Arun_Patidar
MVP

13-12-2018

Hi,

Did you updated Java version to 9? Could you please check? AEM runs on Java 8.

I think Version 52.0 is Java 8 and 53.0 is Java 9.