Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Blocker
-
Resolution: Fixed
-
Affects Version/s: 1.6
-
Fix Version/s: 1.7
-
Component/s: None
-
Labels:None
-
Environment:Windows XP, JDK 1.5
Description
I just downloaded Sonar 1.6 and tried to execute bin\windows-x86-32\StartSonar.bat but I have this error :
wrapper | Launching a JVM...
jvm 1 | Error: no `server' JVM at `C:\Program Files\Java\jre6\bin\server\jvm.
dll'.
wrapper | JVM exited while loading the application.
This is normal, I just have a JDK 1.5 (I don't know where this path is coming from !). Is Java 1.6 mandatory to have Sonar 1.6 running ?
- If yes, please indicate it clearly and you may lose some clients

- If no, please help

Hi Olivier,
You just have to comment the following line in your conf/wrapper.conf file to have Sonar up and running :
Java 6 is not mandatory, by default "-server" option is activated and so JDK is required (version 5 or 6). I don't know why in your context the jre6 is selected instead of you jdk5.