[LINUX] How to check the Java version used by Maven

--Environment - CentOS Linux release 7.6.1810 (Core) - Apache Maven 3.2.5

You can check the version of Maven, but you can also check the version of Java used by Maven. When developing, I'm using different versions of Java, and I want to check which Java Maven is using.

# 「mvn --version "is OK
$ mvn -v
...abridgement...
Java version: 1.6.0_41, vendor: Sun Microsystems Inc.
...abridgement...

Reference: Set Java version with Maven

Recommended Posts

How to check the Java version used by Maven
How to check the version of Django
How to unprefix the DB name used by pytest-django
How to check Linux OS version
How to check opencv version in python
The first artificial intelligence. How to check the version of Tensorflow installed.
How to erase the characters output by Python
How to use the generator
How to change Python version
How to use the decorator
How to increase the axis
How to start the program
[python] How to check if the Key exists in the dictionary
How to switch the configuration file to be read by Python
How to test the attributes added by add_request_method of pyramid
Commands and files to check the version of CentOS Linux
How to check if the contents of the dictionary are the same in Python by hash value
How to calculate the autocorrelation coefficient
How to get and set the NTP server name by DHCP
How to use the zip function
How to use the optparse module
How to implement Java code in the background of RedHat (LinuxONE)
A note on how to check the connection to the license server port
[Simplified version] How to export the minimum reading meter recording information
How to check the memory size of a variable in Python
How to read the SNLI dataset
How to check the memory size of a dictionary in Python
[TensorFlow 2] How to check the contents of Tensor in graph mode
[Python] How to import the library
I tried to summarize the commands used by beginner engineers today
How to overwrite the output to the console
How to update the python version of Cloud Shell on GCP
I used the worldcup command to check the outcome of the World Cup.
How to install Maven on CentOS
How to use the ConfigParser module
How to set up the development environment of ev3dev [Windows version]
How to find if you don't know the Java installation directory
How to display bytes in the same way in Java and Python
How to study for the Deep Learning Association G test (for beginners) [2020 version]
[Python Kivy] How to get the file path by dragging and dropping
How to check local GAE from iPhone browser in the same LAN
Script to register the IP address used by wercker in Security Group
I tried to summarize the Linux commands used by beginner engineers today-Part 1-
How to automatically notify by phone when the python system is down
How to sort by specifying a column in the Python Numpy array.
How to display the progress bar (tqdm)
How to use the Spark ML pipeline
Try to face the integration by parts
How to solve the bin packing problem
How to set the server time to Japanese time
[Linux] How to use the echo command
How to use the Linux grep command
Install by specifying the version with pip
Tools used to check Linux network communication
How to get colored output to the console
How to operate Linux from the console
How to access the Datastore from the outside
How to use the IPython debugger (ipdb)
How to read all the classes contained in * .py in the directory specified by Python
[python] How to sort by the Nth Mth element of a multidimensional array
How to install a Python library that can be used by pharmaceutical companies