aemoncannon/ensime — Issue #196: ensime fails to start because *server* JVM not found
Author: tstgruby
Created: 2011-10-10 08:35:32+00:00
State: open

On windows, the ensime server cannot be started anymore since ec6232724ed3de0e671d1ee53bb96cb3c42c7a05

````
Error: missing `server' JVM at `C:\Program Files (x86)\Java\jre7\bin\server\jvm.dll'.
````

The -server command line option is superfluous, because (http://www.oracle.com/technetwork/java/hotspotfaq-138619.html#compiler_types):

> Since Java SE 5.0, with the exception of 32-bit Windows, the server VM will automatically be selected on server-class machines.

and

> For 64-bit, only the server system is included.

So, if you're using 32-bit Windows or don't have a /server-class machine/ you better use the client VM. Otherwise, if you're using a 64bit OS, you will automatically get the server VM anyway.

Could you remove the -server option again? Of course I could set ENSIME_JVM_ARGS myself, but I think it's better to let the system decide which compiler system is used / available.

Thanks.