Once I upgrade Java from 1.8 to 1.9, I'm unable to start the Stash Service. It's running on a Windows based server and I'm getting the following error messages:
[2018-03-21 11:04:27] [info] [ 6264] Commons Daemon procrun (1.0.15.0 64-bit) started
[2018-03-21 11:04:27] [info] [ 6264] Running 'STASH' Service...
[2018-03-21 11:04:27] [info] [ 5576] Starting service...
[2018-03-21 11:04:27] [error] [ 5576] Failed creating java C:\Program Files\Java\jdk1.8.0_51\jre\bin\server\jvm.dll
[2018-03-21 11:04:27] [error] [ 5576] The system cannot find the path specified.
[2018-03-21 11:04:27] [error] [ 5576] ServiceStart returned 1
[2018-03-21 11:04:27] [error] [ 5576] The system cannot find the path specified.
[2018-03-21 11:04:27] [info] [ 6264] Run service finished.
[2018-03-21 11:04:27] [info] [ 6264] Commons Daemon procrun finished
Both JAVA_HOME and JRE_HOME have been updated to point to the correct (v1.9) installation.
Thank you.
Hi Sourjya! Java 1.9 is not supported yet, so Stash (or Bitbucket Server) will not start. This has been documented at BSERV-10211.
You can watch that ticket to be notified of future updates.
Hope that helps!
Ana
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.