语法为:java weblogic.security.utils.AdminAccount <NewAdminUserName> <NewAdminPassword> directory
例子: C:ea103user_projectsdomains7001_Domainsecurity>java weblogic.security.utils.AdminAccount newAdmin newPassword .
注意: 命令后面的"."为当前目录
或者C:ea103user_projectsdomains7001_Domain>java weblogic.security.utils.AdminAccount newAdmin newPassword security
linux下:
/wls/bea1036/jrockit_160_29_D1.2.0-10/bin/java -cp /wls/bea1036/server/lib/weblogic.jar weblogic.security.utils.AdminAccount new Admin newPassword security