Ask Questions and Find Answers
Important:
Ask is now read-only. You can review any existing questions and answers, but not add anything new.
But - don't panic! While ask is no more, we've replaced it with discuss - the new Liferay Discussion Forum! Read more here here or just visit the site here:
discuss.liferay.com
full jdk is required
I'm trying to fresh installation of liferay.
here is what i did before running catalina.bat run:
downloaded JDK 17.0.1 JRE 1.8.0_311
i set JAVA_HOME TO C:\Program Files\Java\jdk-17.0.1
I set JRE_HOME TO C:\Program Files\Java\jre1.8.0_311
and add java bin to the path
also i put my license in deploy folder in liferay folder
2021-11-24 07:25:23.187 ERROR [http-nio-8080-exec-1][status_jsp:855] PWC6345: There is an error in invoking javac. A full JDK (not just JRE) is required
Go with either Java 8 or 11 - newer versions aren't yet supported. Check https://liferay.dev/blogs/-/blogs/liferay-portal-7-4-ga4-and-liferay-commerce-4-0-ga4-release
AFAIK no full JDK is required any more - don't configure JAVA_HOME and it should work
i downgraded to java 11 and JAVA_HOME from the environment and it works now, thank you so much.
i downgraded to java 11 and removed JAVA_HOME from the environment and it works now, thank you so much.
Powered by Liferay™