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
RE: RE: how to set gradle jave_home
hi
i am using liferay 7.4 ga1, for my local develop, it's works well, but i put all in windows server 2019, and set all same, i got problem when i try use "build" from Gradle tasks. it target on different from my local pc. and there have no tool.jar in jre.
i copy the tools.jar from jdk to jre, it's works so far.
how to change the setting and direct it to right jdk?
I am not really a windows user, but can't you just set it globally in the Environment variables? Search for "windows <version> set java_home" and it will show some links for sure.
Copyright © 2025 Liferay, Inc
• Privacy Policy
Powered by Liferay™