Using javaw.exe instead of java.exe

When I run or debug a program, it starts with "C:\Program Files\Java\jdk1.5.0_04\bin\java". I want to change this in ""C:\Program Files\Java\jdk1.5.0_04\bin\javaw". How do I do that?

The reason I want this is that when applications use SWT, they have to be run with javaw.

Thanks in advance.

1 comment
Comment actions Permalink

Unfortunately, I don't think there's an easy way to do that (at least I've never heard of one). The only thing I can think to do is to set up your call to javaw as an "external tool". I haven't tried it but it should work.


Please sign in to leave a comment.