How to find weblogic version in Linux?

Hi All,

I am able to find the weblogic version in Centos 7 by using below command
but i am not sure what is java -cp is doing in below command.

Can someone please help. unable to find info from java man page as well.

# cd /opt/oracle/weblogic/wlserver*/server/lib && java -cp weblogic.jar weblogic.version


WebLogic Server 10.3.6.0  Tue Nov 15 08:52:36 PST 2011 1441050

Use 'weblogic.version -verbose' to get subsystem information

Use 'weblogic.utils.Versions' to get version information for all modules

You can get the weblogic version number by using your Oracle Weblogic Server Administration Console.

See, for example:

https://docs.oracle.com/middleware/11119/wls/WSGET/admin.htm#i209645