JDK missing, but is installed

786 Views Asked by At

I have to learn about Liferay 7.x on Eclipse Mars.2 on Windows 10. So, I installed the JDK 1.8.0_201 and added in in the Eclipse Preferences.

But still, I have the error :

"There is an error in invoking javac. A full JDK (not just JRE) is required"

I also already set my environment variables.

JAVA_HOME
JRE_HOME

How can fix this ?

Thank you for your answers.

1

There are 1 best solutions below

1
Adriel Iclodean On

Please check this answer and see if you can find anything that you can do to solve your issue. And if yes, write back what was your problem.

Error when starting Liferay 7 (liferay-portal-7.0-ce-ga1): PWC6345: There is an error in invoking javac.A full JDK (not just JRE) is required