1. Confirm that the java_home=d:\oracle\middleware\jdk160_29 in the operating system environment variable is consistent with the location of the installation deployment;
2, edit D:\Oracle\Middleware\wlserver_12.1\server\bin\installSvc.cmd file, add red part content:
If "%wl_use_amd64dll%" = = "true" Set extrapath=%wl_home%\server\native\win\x64\;%wl_home%\server\bin;%java_home%\ Jre\bin;%java_home%\bin;%wl_home%\server\native\win\x64\oci920_8
Name of @rem Domain
Set Domain_name=base_domain
@rem is generally the default
Set Server_name=adminserver
Path to @rem Domain
Set Userdomain_home=d:\oracle\middleware\user_projects\domains\base_domain
Set wls_pw=weblogic123
REM * * Install the Service
"%wl_home%\server\bin\wlsvc"-install-svcname: "Wlsvc%domain_name%_%server_name%"-javahome: "%JAVA_HOME%"-execdir : "%userdomain_home%"-maxconnectretries: "%max_connect_retries%"-host: "%host%"-port: "%PORT%"-extrapath: "% extrapath% "-password:"%wls_pw% "-cmdline:%cmdline%
3. Run >installsvc.cmd in the DOS window
After the successful execution will appear in the system service "Wlsvc base_domain_adminserver" service, can be started;