Phenomenon:Nexus Windows system service installed successfully, but failed to start d:\nexus-2.10.0-02-bundle\nexus-2.10.0-02\bin>
Nexus.batUsage:nexus.bat {Console:start:stop:restart:install:uninstall} Please press any key to continue ... D:\nexus-2.10.0-02-bundle\nexus-2.10.0-02\bin>nexus.bat Installwrapper | Nexus installed. D:\nexus-2.10.0-02-bundle\nexus-2.10.0-02\bin>nexus.bat Startwrapper | Starting the Nexus Service...wrapper | The Nexus service was launched and failed to start. Please press any key to continue ...
log (Wrapper.log)Wrapper | Unable to execute Java command. The system cannot find the file specified. (0x2) wrapper | "Java"-djava.io.tmpdir=./tmp-djava.net.preferipv4stack=true wrapper | Critical error:wait for JVM process Failedwrapper | The Nexus service was launched and failed to start.
Solution:
nexus-2.10.0-02/bin/jsw/conf/wrapper.conf# Set The JVM executable# (modify this to absolute path if you need a Java so is not on the OS path) Wrapper.java.command =
C:\Program Files\java\jdk1.7.0_67\jre\bin\java.exe
Windows Nexus failed to start