I keep getting this when calling maven install
from IntelliJ:
Error while creating archive: Unable to find javadoc command: The environment variable JAVA_HOME is not correctly set.
I can run maven-install just fine from the terminal inside of my working directory, but does anyone know how to get this to actually work in IntelliJ?
With IDEA 12 and older on Mac you may need to define JAVA_HOME
environment variable per this answer. IDEA 13 should read the Terminal environment automatically, but not from .bash_profile
.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With