Java Requires X Windows?
Jan Grant
Jan.Grant at bristol.ac.uk
Mon Mar 29 03:26:07 PST 2004
On Sat, 27 Mar 2004, Matthew Seaman wrote:
> On Fri, Mar 26, 2004 at 06:01:51PM -0900, Joe Pokupec wrote:
>
> > Do I need to have X Windows installed for Java to 1.4 to run on FreeBSD 5.1?
To run, no. To build, what Matthew said.
> You don't need a full installation of XFree86: all you need are the
> devel/imake4 and the x11/XFree86-4-libraries ports.
Although if you're doing any AWT stuff server-side (eg, rendering
graphics on the fly for delivery by servlet) you may find you need this:
JAVA_OPTS=-Djava.awt.headless=true
I believe the 1.4 release notes for Java include details about its
somewhat improved (ie, it works) "headless" support.
--
jan grant, ILRT, University of Bristol. http://www.ilrt.bris.ac.uk/
Tel +44(0)117 9287088 Fax +44 (0)117 9287112 http://ioctl.org/jan/
...and then three milkmaids turned up
(to the delight and delactation of the crowd).
More information about the freebsd-questions
mailing list