Package com.chemaxon.version
Class VersionInfo
java.lang.Object
com.chemaxon.version.VersionInfo
Provides version information of Chemaxon products.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionstatic StringReturns the build date as string (in local time zone).static StringReturns the build time as string (in local time zone).static DateReturns the build date and time.protected static StringReturns the build date and time as string in UTC time zone.static StringReturns the year of the build date as string.static StringReturns the display version.static StringReturns the internal version identifier.protected static StringReturns the Java VM version information as string.static intDeprecated, for removal: This API element is subject to removal in a future version.protected static StringReturns the OS version information as string.static StringReturns the product version.static voidMain method that prints out the version information into the standard output.
- 
Constructor Details- 
VersionInfopublic VersionInfo()
 
- 
- 
Method Details- 
getVersionReturns the product version.- Returns:
- the product version string, e.g. "23.5.1".
 
- 
getDisplayVersionReturns the display version.- Returns:
- the display version string, e.g. "23.5.1" or "Neon.3".
 
- 
getInternalVersionIdReturns the internal version identifier.- Returns:
- the internal version identifier string, e.g. "23.5.1-6789".
 
- 
getJChemTableVersion@Deprecated(forRemoval=true) @SubjectToRemoval(date=JUL_01_2025) public static int getJChemTableVersion()Deprecated, for removal: This API element is subject to removal in a future version.No longer supported, usechemaxon.jchem.version.JChemVersionInfoinstead.Returns the internal version number of JChem database tables.
- 
getBuildTimestampReturns the build date and time.- Returns:
- the build timestamp as Date.
 
- 
getBuildDateReturns the build date as string (in local time zone).- Returns:
- the build date as string, e.g. "2023-03-15".
 
- 
getBuildTimeReturns the build time as string (in local time zone).- Returns:
- the build time as string, e.g. "21:09:46".
 
- 
getBuildYearReturns the year of the build date as string.- Returns:
- the build year as string, e.g. "2023".
 
- 
getBuildTimestampStrReturns the build date and time as string in UTC time zone.- Returns:
- the build timestamp as string in UTC time zone, e.g. "2023-03-15 20:09:46 UTC".
 
- 
getJavaVersionStrReturns the Java VM version information as string.- Returns:
- the Java VM version, e.g. "1.8.0_112 (Oracle Corporation 25.112-b15)".
 
- 
getOsVersionStrReturns the OS version information as string.- Returns:
- the OS version, e.g. "Windows 7 6.1 (amd64)".
 
- 
mainMain method that prints out the version information into the standard output.If no argument is given, prints out full version information (version, internal version, build date, etc.). - Parameters:
- args- Command-line arguments:- -version Prints only the version
- -id Prints only the internal version ID
- -date Prints only the build date (timestamp)
 
 
 
- 
chemaxon.jchem.version.JChemVersionInfoinstead.