 <p>Here is the code to fetch the version and patch details</p> <pre><code> String queryString = "com.bea:Name=DomainRuntimeService,Type=weblogic.management.mbeanservers.domainruntime.DomainRuntimeServiceMBean"; ObjectName objectName1; objectName1 = new ObjectName(queryString); ObjectName[] serverRuntimes = (ObjectName[]) connection.getAttribute(objectName1, "ServerRuntimes"); String patch= (String) connnection.getAttribute(serverRuntimes[0], "WeblogicVersion"); </code></pre> <p>this give the following sample value "WebLogic Server 10.3.6.0.3 PSU Patch for BUG14796139 Fri Nov 23 10:16:54 IST 2013 WebLogic Server 10.3.9.0 Tue Nov 15 08:52:36 PST 2011 1841050"</p>