BITSSANDESH BITSSANDESH - 1 month ago 21
Java Question

Nexus Service is not running properly

I am trying to run sonatype nexus-2.10.0-02-bundle on Windows 7 and Windows 2003 Server machine. But when I am running it shows following message

wrapper | Starting the nexus service...
wrapper | The nexus service was launched, but failed to start.
Press any key to continue . . .

When I have searched out the problem on Google I have found following resolution...

To fix this edit the property “wrapper.java.command” with the fully pathed location of a valid JVM7 in the wrapper.conf file

Which i have tried by replacing the above by following directory structure:

C:/Program Files/Java/jdk1.7.0_45/bin, but still it throws the same problem...

Please help !!!

Answer

I have digged out many places by googling the question.. I did following solution to run it I had changed the wrapper.java.command= JAVA_HOME and then i run the wrapper with command nexus console : install and it runs fine.