Date: Thu, 4 May 2006 17:09:19 +0300 (EEST) From: Achilleus Mantzios <achill@matrix.gatewaynet.com> To: Fernan Aguero <fernan@iib.unsam.edu.ar> Cc: freebsd-java@freebsd.org Subject: Re: java without X11? Message-ID: <Pine.LNX.4.44.0605041650130.3451-100000@matrix.gatewaynet.com> In-Reply-To: <20060504121812.GA94022@iib.unsam.edu.ar>
next in thread | previous in thread | raw e-mail | index | archive | help
O Fernan Aguero έγραψε στις May 4, 2006 : > Hi! > > I was setting up a headless (no X11, no GUI) box and had to > install java (required by apache-ant and by a java code that > interacts with an underlying postgresql database). > > I want this box to run only the base system (cut down to > only essential daemons/processes) and one application > (postgresql + associated perl/java layers). > > I was installing diablo-jdk15 from a package ... and > followed the warning about a missing required dependency > (xorg-libraries). Even though I didn't want X11, it would > just be the libraries ... so I went ahead. > > I was then surprised when xorg-libraries in turn pulled > freetype, fontconfig, pkgconfig (isn't this a gnome thing?), > libdrm ... too much X11 stuff for my taste. > > Perhaps I could have ignored the warning altogether and keep > jdk15 installed without xorg-libraries? Anyone did this? > If yes, I could go now and pkg_delete all X11 stuff ... > > A quick browse through other jdk ports show that they all > (by default) require X11 either directly or through > inclusion of some motif dependency. > > I know that a lot of java apps depend on GUI functionality > provided by the language, but is this java+X11 a thing that > cannot be separated? (i.e. X11 is rooted too deep into > java) or maybe it could be separated and we could have an > optional WITHOUT_X11 in the various jdk ports? Technically speaking AWT uses various X11 libs: libXp, libXt, libXext, libXtst, libXmu, libX11, libSM, libICE. If your server setup ever needs creating graphs, images, charts, etc... you will definately need X11. Even if your server never does any imaging, i think a correct installation should have all dynamic object (.so.* files) dependencies in place before any serious use. > > Thanks, > > Fernan > _______________________________________________ > freebsd-java@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-java > To unsubscribe, send any mail to "freebsd-java-unsubscribe@freebsd.org" > -- -Achilleus
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.LNX.4.44.0605041650130.3451-100000>