tags:

views:

411

answers:

1

I would really like to be able to run our test suite on Xvfb so that swing windows don't keep popping up in the way of my work. Unfortunately I cannot seem to find a way to get the java runtime to use the display specified in the DISPLAY environment variable. I suppose this is because the Mac JDK is hardwired to use the (non-X-based) Mac display.

I can't find any switches for the java command that say to use X either.

Thanks in advance for any help you can give! Matt

+1  A: 

I don't know if there is a way to get Apple's JDK to use X11, but there is the alternative of using SoyLatte, which is a Mac Java implementation that only works with X11.

Dan Dyer
The official Java runtimes use the platform native GUI API. Thus the Mac Java runtime, like the MS Windows Java runtime, doesn't support X11.
outis
Is SoyLatte a good VM, or just a small one-man project? I'd like to run a visual editor on my Ubuntu laptop for editing files on my Mac over SSH.
Pepijn