I am new to Maven, Java ...when I do a mvn clean package
on a Java project, it does create the JAR file for me.
But still how can I know if I have JDK or is it still JRE?
I am on OSX 10.8
Maven needs a JDK, and not a JRE.
Do this for more information on which version of Java you have installed:
echo $JAVA_HOME
echo $PATH
which java
java -version
mvn --version
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