활동이 없어 이 대화는 잠겼습니다. 새 게시물을 작성해 주세요.
활동이 없어 이 대화는 잠겼습니다. 새 게시물을 작성해 주세요.
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
해결되었습니다! 솔루션으로 이동.
조회 수
답글
좋아요 수
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.
조회 수
답글
좋아요 수
Looks like you are running the AEM 6.4 jar with an unsupported version of JVM. Please go through Technical Requirements for more details.
조회 수
답글
좋아요 수
What Java version is your Java HOME variable referencing?
조회 수
답글
좋아요 수
Java version: 1.8.0_171, vendor: Oracle Corporation
Java home: C:\Program Files\Java\jdk1.8.0_171\jre
조회 수
답글
좋아요 수
Only 64bit version is supported. Can you check?
조회 수
답글
좋아요 수
yes i am using the 64bit
조회 수
답글
좋아요 수
Can you try with 1.8.0_131 and let me know if that works.
조회 수
답글
좋아요 수
no its not working
조회 수
답글
좋아요 수
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.
조회 수
답글
좋아요 수
i am already doing this, i sent u the java home version from the output of mvn -version cmd
조회 수
답글
좋아요 수
In your thread - it shows:
Java home: C:\Program Files\Java\jdk1.8.0_171\jre
Change to JDK - ie
조회 수
답글
좋아요 수
check my env variables in the screenshot
조회 수
답글
좋아요 수
Try a new fresh install in a new folder on your machine. Does that start?
조회 수
답글
좋아요 수
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.
조회 수
답글
좋아요 수
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
조회 수
답글
좋아요 수
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
조회 수
답글
좋아요 수
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
조회 수
답글
좋아요 수
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.
조회 수
답글
좋아요 수
Hey
please check the screenshot and tell me which one should i keep so i will remove all the others
조회 수
답글
좋아요 수
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
조회 수
답글
좋아요 수
I removed all java versions and kept only one and it worked
Thank you for your support
조회 수
답글
좋아요 수