views:

84

answers:

1

So I change the -vm argument for eclipse.exe using the eclipse.ini settings file, and now there's an command prompt console (even if I remove the -vm value).

Does anyone know how to turn off the console so I only have the eclipse GUI and not the console window? I'm running MS Windows 7.

EDIT: Solved thanks to Kennet, the problem was I was using java.exe instead of javaw.exe!!!

+3  A: 
eclipse.exe -vm <path-to-java>\javaw.exe

javaw is a 'no console version' of java

Kennet
if you have several jdks installed you might have to provide a full path (to make sure). also these windows slashes: \ have to be escaped \\ or converted to unix slashes /
seanizer
javaw was the key!!!! thanks!
engfer
When you specify java(w).exe on the command line, java will be forked in a second process. You can also specify "-vm path/jvm.dll" and then java will be loaded in-process using the JNI invocation API.
Andrew Niefer
"The more you know". Thanks @Andrew!
engfer