While starting StartSonar.bat I am getting the below error, I added wrapper.java.command=C:/Program Files/Java/jdk1.8.0_121/bin
in wrapper.config file.
Critical error: wait for JVM process failed
--> Wrapper Started as Console
Launching a JVM...
Unable to execute Java command. Access is denied. (0x5)
Advice:
Access denied errors when attempting to launch the Java process are
usually caused by strict access permissions assigned to the directory
in which Java is installed.
A quick google search would let you figure out the issue easily.
Your wrapper config is almost correct. Open the file and edit the wrapper.java.command
configuration key to:
# Path to JVM executable. By default it must be available in PATH.
# Can be an absolute path, for example:
wrapper.java.command=C:\Program Files\Java\jdk1.8.0_121\bin\java
#wrapper.java.command=java
As you can see, you are missing \java
in your path.
Hope this helps! Cheers and happy coding.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With