Running Fisheye as Windows service fails due to wait for JVM process failed error

Platform Notice: Data Center Only - This article only applies to Atlassian products on the Data Center platform.

Note that this KB was created for the Data Center version of the product. Data Center KBs for non-Data-Center-specific features may also work for Server versions of the product, however they have not been tested. Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.

*Except Fisheye and Crucible

Symptoms

Starting Fisheye as Windows service will result in the following message:

1 2 3 4 5 6 7 8 9 10 STATUS | wrapper | 2012/06/28 11:24:56 | --> Wrapper Started as Service STATUS | wrapper | 2012/06/28 11:24:56 | Launching a JVM... FATAL | wrapper | 2012/06/28 11:24:56 | Unable to execute Java command. The system cannot find the file specified. (0x2) FATAL | wrapper | 2012/06/28 11:24:56 | "java" -server -showversion -Djava.awt.headless=true -Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=4242 -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.password.file=./wrapper/jmxremote.password -Dwrapper.mbean.name="wrapper:type=Java Service Wrapper Control" -Dfisheye.inst="D:\fisheye" -Xrs -Xms256m -Xmx1024m -Djava.library.path="wrapper/lib;lib/native/linux-i386;lib/native/osx-ppc;lib/native/solaris-sparc;lib/native/win32-x86" -classpath "./fisheyeboot.jar;wrapper/lib/fisheye-wrapper-jmx.jar;wrapper/lib/wrapper.jar" -Dwrapper.key="UqR2WUxg0OhZNf1l" -Dwrapper.port=32000 -Dwrapper.use_system_time="TRUE" -Dwrapper.version="3.1.2" -Dwrapper.native_library="wrapper" -Dwrapper.service="TRUE" -Dwrapper.cpu.timeout="10" -Dwrapper.jvmid=1 com.cenqua.fisheye.FisheyeServiceWrapper com.cenqua.fisheye.FishEyeCtl 1 start com.cenqua.fisheye.FishEyeCtl true 1 stop FATAL | wrapper | 2012/06/28 11:24:56 | Critical error: wait for JVM process failed STATUS | wrapper | 2012/06/28 11:30:03 | --> Wrapper Started as Console STATUS | wrapper | 2012/06/28 11:30:04 | Launching a JVM... FATAL | wrapper | 2012/06/28 11:30:04 | Unable to execute Java command. The system cannot find the file specified. (0x2) FATAL | wrapper | 2012/06/28 11:30:04 | "java" -server -showversion -Djava.awt.headless=true -Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=4242 -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.password.file=./wrapper/jmxremote.password -Dwrapper.mbean.name="wrapper:type=Java Service Wrapper Control" -Dfisheye.inst="D:\fisheye" -Xrs -Xms256m -Xmx1024m -Djava.library.path="wrapper/lib;lib/native/linux-i386;lib/native/osx-ppc;lib/native/solaris-sparc;lib/native/win32-x86" -classpath "./fisheyeboot.jar;wrapper/lib/fisheye-wrapper-jmx.jar;wrapper/lib/wrapper.jar" -Dwrapper.key="YC39epFcgLzQJRe0" -Dwrapper.port=32000 -Dwrapper.use_system_time="TRUE" -Dwrapper.version="3.1.2" -Dwrapper.native_library="wrapper" -Dwrapper.cpu.timeout="10" -Dwrapper.jvmid=1 com.cenqua.fisheye.FisheyeServiceWrapper com.cenqua.fisheye.FishEyeCtl 1 start com.cenqua.fisheye.FishEyeCtl true 1 stop FATAL | wrapper | 2012/06/28 11:30:04 | Critical error: wait for JVM process failed

Cause

Fisheye can't find java executable in its PATH.

Resolution

Specify the full path for the java.exe file into the wrapper.conf like below:

1 2 #Java Application wrapper.java.command=c:\path\to\java\java.exe

Or add the location of java.exe to PATH environment variable and restart Fisheye.

Updated on April 8, 2025

Still need help?

The Atlassian Community is here for you.