Hey
After creating an AEM project following the steps on this link Getting Started with AEM Sites Part 1 - Project Setup
i lunched the free trial aem version 6.4 and registered, when i am trying to browse http://localhost:4502/sites.html i am getting this error:
Can anyone help me
Thanks
Solved! Go to Solution.
Views
Replies
Total Likes
Can you confirm if you have 2 JRE in your system (even if you are giving correct details in JAVAHOME or PATH variable)?
If so, go to registry -> HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Runtime Environment and check the currentVersion, it should be the latest and compatible version.
Views
Replies
Total Likes
Looks like you are running the AEM 6.4 jar with an unsupported version of JVM. Please go through Technical Requirements for more details.
Views
Replies
Total Likes
What Java version is your Java HOME variable referencing?
Views
Replies
Total Likes
Java version: 1.8.0_171, vendor: Oracle Corporation
Java home: C:\Program Files\Java\jdk1.8.0_171\jre
Views
Replies
Total Likes
Only 64bit version is supported. Can you check?
Views
Replies
Total Likes
yes i am using the 64bit
Views
Replies
Total Likes
Can you try with 1.8.0_131 and let me know if that works.
Views
Replies
Total Likes
no its not working
Views
Replies
Total Likes
Hi,
The java home you have given is wrong. You have given JAVA_HOME till jre i.e., inside jdk1.8.0_171 - This is wrong
Please give java_home and path as per the below.
JAVA_HOME: C:\Program Files\Java\jdk1.8.0_171.
path : C:\Program Files\Java\jdk1.8.0_171\bin
Please change the JAVA_HOME from C:\Program Files\Java\jdk1.8.0_171\jre to C:\Program Files\Java\jdk1.8.0_171. It will work.
Hope this helps!!
Thanks,
Ratna Kumar.
Views
Replies
Total Likes
i am already doing this, i sent u the java home version from the output of mvn -version cmd
Views
Replies
Total Likes
In your thread - it shows:
Java home: C:\Program Files\Java\jdk1.8.0_171\jre
Change to JDK - ie
Views
Replies
Total Likes
check my env variables in the screenshot
Views
Replies
Total Likes
Try a new fresh install in a new folder on your machine. Does that start?
Views
Replies
Total Likes
Hi,
You have give as path and not JDK for the path. See the screenshot below.
You have given JDK instead of path. You need to give path as variable not JDK. Also I see you are using different path for JDK i.e., jdk1.7.0_80/bin instead of jdk1.8.0_171/bin
Change to path from JDK and give proper path of JDK. It will work!!
Hope this helps!!
Thanks,
Ratna Kumar.
Views
Replies
Total Likes
Hey
I removed the JDK variable and still the same issue, i already added the jdk path to the path variable and didn't worked, check the below screenshot
Views
Replies
Total Likes
for more info about the issue this is the full error
RequestURI=/libs/granite/core/content/login.html
Servlet= /libs/granite/core/components/login/login.jsp
Views
Replies
Total Likes
also adding to the ticket i navigated http://localhost:4502/crx/de/index.jsp and logged in with admin admin then trying to navigate http://localhost:4502/sites.html i got this error
RequestURI=/sites.html
Servlet= /libs/granite/ui/components/shell/collectionpage/collectionpage.jsp
Views
Replies
Total Likes
Can you confirm if you have 2 JRE in your system (even if you are giving correct details in JAVAHOME or PATH variable)?
If so, go to registry -> HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Runtime Environment and check the currentVersion, it should be the latest and compatible version.
Views
Replies
Total Likes
Hey
please check the screenshot and tell me which one should i keep so i will remove all the others
Views
Replies
Total Likes
I have Java 1.8 deployed like this:
You should have Java 1.8 setup in a folder - as shown above and you Java_Home pointing to that folder.
Try putting the AEM JAR in another folder and starting it again - a fresh install.
Also - check the Reg Keys as suggested by Kautuk
Views
Replies
Total Likes
I removed all java versions and kept only one and it worked
Thank you for your support
Views
Replies
Total Likes
Views
Likes
Replies