Details
-
Task
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
Description
Coming from here.
rfscholte says:
It is not needed anymore to set JAVA_HOME.
If it is set, %JAVA_HOME%/bin/java should be used to start Maven, otherwise java should be picked up from the PATH.
This should be explained on the install page.
With this we can assume that JAVA_HOME was set on purpose, but misconfigured.
I suggest to have a message like:
The JAVA_HOME environment variable is not defined correctly, so Apache Maven cannot be started. JAVA_HOME is set to "<actual value>", but "%JAVA_HOME%/bin/java" does not exist.
Attachments
Issue Links
- is depended upon by
-
MNG-6456 Log $JAVA_HOME when there is an issue with it
- Closed
- links to