i don't remember my exact results from messing with a headless machine, there where packages available for linux to provide a "head" for headless systems via some version of X. though that is hardly a pure Java solution :)