5

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!!!

Community
  • 1
  • 1
engfer
  • 126
  • 1
  • 6

1 Answers1

13
eclipse.exe -vm <path-to-java>\javaw.exe

javaw is a 'no console version' of java

Kennet
  • 5,736
  • 2
  • 25
  • 24
  • 1
    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 / – Sean Patrick Floyd May 25 '10 at 21:00
  • 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 May 25 '10 at 22:19
  • "The more you know". Thanks @Andrew! – engfer May 27 '10 at 14:05