eclversion command
Use this command-line tool to find out information about the installed version of the Java™ Persistence API (JPA) 2.1 specification provider, Eclipselink, for the product.
Run the JPA eclversion command from the profile_root/bin directory to make sure that you have the latest version of the command for your release.
Syntax
The command syntax is as follows:
eclversion.sh
eclversion.bat
Usage
The version tool can be useful when debugging problems with JPA in applications and providing customer support teams with the information about the current JPA environment.
The command is run from the profile_root directory.
Examples
Find the version information of your JPA installation example
output:
[root@atlanta bin]# ./eclversion.sh
Eclipse Persistence Services (EclipseLink)
Build Version: 2.6.2.WAS
Build Qualifier: WAS
Build Date: 20160304
Build Time: 1110
SVN Revision: NA
On Windows operating systems, the
output looks like the following example:
D:\Users\user\WASV9\IBM\WebSphere\AppServer\profiles\AppSrv01\bin>eclversion.bat
Eclipse Persistence Services (EclipseLink)
Build Version: 2.6.2.WAS
Build Qualifier: WAS
Build Date: 20160304
Build Time: 1110
SVN Revision: NA