export JAVA_HOME=$(update-alternatives --query javadoc | grep Value: | head -n1 | sed 's/Value: //' | sed 's@bin/javadoc$@@')
Last active
June 4, 2024 15:03
-
-
Save FrancoStino/fd4760df2f0f39fc14027f59de9c1b65 to your computer and use it in GitHub Desktop.
I ran this command in my project directory to build and package it: mvn clean javadoc:jar package
I do have my JAVA_HOME variable set correctly.
Evidently: $ which java
/usr/bin/java
$ sudo ls -...
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment